]> git.ozlabs.org Git - ppp.git/commit - pppd/ipcp.c
Accept ms-wins settings provided by server
authorMarcus Better <marcus@better.se>
Wed, 21 Oct 2009 01:52:59 +0000 (12:52 +1100)
committerPaul Mackerras <paulus@samba.org>
Fri, 23 Oct 2009 00:37:23 +0000 (11:37 +1100)
commit275b3d6e8901b22a609567717f7dab56c8b67f2d
tree6a4a65116e395158a7f0ebb56f5fbeb88286b271
parentfa8c4dd69555ce3b8376d157d8603cd7bf4967e4
Accept ms-wins settings provided by server

The PPP servers of some UMTS/HSPA modems, including the Huawei E220
and E620, will send WINS server settings and insist that the client
accepts these. If the client does not do so, the modem will sometimes
provide bogus DNS server addresses like 10.11.12.13 and 10.11.12.14.

If we receive ms-wins settings from the server, save and include them
in our ConfReqs.

See also discussions at

  http://thread.gmane.org/gmane.linux.ppp/2721
  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=445711

[paulus@samba.org: In fact what seems to happen is that the modem naks
IPCP conf-reqs with bogus values until it manages to communicate on the
network.  It's not clear that asking for the ms-wins stuff is essential
but it seems that sometimes it helps.]

Signed-off-by: Marcus Better <marcus@better.se>
Signed-off-by: Paul Mackerras <paulus@samba.org>
pppd/ipcp.c