]> git.ozlabs.org Git - ppp.git/commit
Allow operation without an IP address for the peer
authorPaul Mackerras <paulus@samba.org>
Wed, 26 Mar 2008 11:34:23 +0000 (11:34 +0000)
committerPaul Mackerras <paulus@samba.org>
Wed, 26 Mar 2008 11:34:23 +0000 (11:34 +0000)
commiteee67a89b6e5703a54a21ef835c383c139ef76c3
treede4859bf275f4c3bc700f6cb2fb32ac6d93547b0
parentf8191bf07df374f119a07910a79217c7618f113e
Allow operation without an IP address for the peer

Under Linux, a point-to-point interface can operate without having
a destination IP address assigned to it, because routes can be
directed to the device rather than to a gateway IP address.  Some
peers expect us to operate in this manner and refuse to give us
an IP address for them, so this adds a new `noremoteip' option that
tells pppd not to ask for the peer's IP address if the peer doesn't
supply it.  There is also a `nosendip' option which tells pppd not
to supply its IP address -- mostly intended for testing.

Solaris requires a destination IP address, so the noremoteip option
is not included on Solaris.
pppd/ipcp.c
pppd/sys-linux.c