summaryrefslogtreecommitdiffstats
path: root/etc/ppp
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1997-05-08 01:45:59 +0000
committerbrian <brian@FreeBSD.org>1997-05-08 01:45:59 +0000
commita416f519b88c65e6bee5621795c19582a34808a2 (patch)
tree005cdb0f9001e8751bf4236da11db6f0160d5941 /etc/ppp
parent049664f16aada6df62fa06234d7e279afe2ea791 (diff)
downloadFreeBSD-src-a416f519b88c65e6bee5621795c19582a34808a2.zip
FreeBSD-src-a416f519b88c65e6bee5621795c19582a34808a2.tar.gz
Don't use HISADDR in ppp.conf examples as it's not
set up properly 'till ppp.linkup is parsed. PR: 3114 Submitted by: Kenneth R. Westerback <krw@tcn.net>
Diffstat (limited to 'etc/ppp')
-rw-r--r--etc/ppp/ppp.conf.sample6
1 files changed, 4 insertions, 2 deletions
diff --git a/etc/ppp/ppp.conf.sample b/etc/ppp/ppp.conf.sample
index 0567e64..0192be3 100644
--- a/etc/ppp/ppp.conf.sample
+++ b/etc/ppp/ppp.conf.sample
@@ -4,7 +4,7 @@
#
# Written by Toshiharu OHNO
#
-# $Id: ppp.conf.sample,v 1.11 1997/03/16 00:59:08 jmg Exp $
+# $Id: ppp.conf.sample,v 1.12 1997/05/08 00:55:42 brian Exp $
#
#################################################################
@@ -91,6 +91,8 @@ ondemand:
# IP will be either, take a wild guess at an some IPs that you can't
# currently route to. Ensure that the "delete" and "add" lines are also
# present in ppp.linkup so that when we connect, things will be put straight.
+# Note that it is illegal to use HISADDR here - HISADDR is only available
+# in ppp.linkup (after the value has been established).
#
# The /0 bit says that we insist on 0 bits of the specified IP actually
# being correct, therefore, the other side can assign any IP numbers.
@@ -104,7 +106,7 @@ pmdemand:
set timeout 120
set ifaddr 10.10.10.10/0 10.10.11.11/0 255.255.255.0
delete ALL
- add 0 0 HISADDR
+ add 0 0 10.10.11.11
set openmode active
# Examples to connect using a null-modem cable from one machine to another.
OpenPOWER on IntegriCloud