]> git.ozlabs.org Git - ppp.git/commitdiff
Merge pull request #297 from mjeveritt/patch-11-test-pr
authorPaul Mackerras <paulus@ozlabs.org>
Sat, 16 Oct 2021 03:01:46 +0000 (14:01 +1100)
committerGitHub <noreply@github.com>
Sat, 16 Oct 2021 03:01:46 +0000 (14:01 +1100)
pppd: Add option to ask peer for WINS address

This adds a 'usepeerwins' option, analogous to the usepeerdns option,
to ask the peer for WINS server addresses.  Nothing is done with
the addresses provided other than to pass them to the ip-up
script in environment variables.

With this, if the peer sends an IPCP Configure-NAK containing
WINS addresses, we will request them in the following IPCP
Configure-Request.

Co-authored-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Michael Everitt <gentoo@veremit.xyz>
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Signed-off-by: Michael Everitt <michael@2e0cer.net>
1  2 
pppd/ipcp.c
pppd/ipcp.h
pppd/pppd.8

diff --cc pppd/ipcp.c
Simple merge
diff --cc pppd/ipcp.h
Simple merge
diff --cc pppd/pppd.8
Simple merge