]> git.ozlabs.org Git - ppp.git/commitdiff
pppd: Fix man page description of case when remote IP address isn't known
authorPaul Mackerras <paulus@samba.org>
Sat, 2 Mar 2013 06:30:25 +0000 (17:30 +1100)
committerPaul Mackerras <paulus@samba.org>
Sat, 2 Mar 2013 06:30:25 +0000 (17:30 +1100)
We use a made-up address in the 10.x.x.x range, rather than refusing
to bring up the link.

Reported-by: Matthijs Kooijman
Signed-off-by: Paul Mackerras <paulus@samba.org>
pppd/pppd.8

index 3404f15ee7303a237e17fb38b088f5d085806a39..77be9801d1024f1f1468970ce24ff15440f2441a 100644 (file)
@@ -320,8 +320,9 @@ can do either.)
 .TP
 .B demand
 Initiate the link only on demand, i.e. when data traffic is present.
-With this option, the remote IP address must be specified by the user
-on the command line or in an options file.  Pppd will initially
+With this option, the remote IP address may be specified by the user
+on the command line or in an options file, or if not, pppd will use
+an arbitrary address in the 10.x.x.x range.  Pppd will initially
 configure the interface and enable it for IP traffic without
 connecting to the peer.  When traffic is available, pppd will
 connect to the peer and perform negotiation, authentication, etc.
@@ -828,8 +829,9 @@ do so by placing this option in the /etc/ppp/options file.
 .B noremoteip
 Allow pppd to operate without having an IP address for the peer.  This
 option is only available under Linux.  Normally, pppd will request the
-peer's IP address, and if the peer does not supply it, pppd will not
-bring up the link for IP traffic.  With this option, if the peer does
+peer's IP address, and if the peer does not supply it, pppd will use
+an arbitrary address in the 10.x.x.x subnet.
+With this option, if the peer does
 not supply its IP address, pppd will not ask the peer for it, and will
 not set the destination address of the ppp interface.  In this
 situation, the ppp interface can be used for routing by creating