summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/command.c
diff options
context:
space:
mode:
authoramurai <amurai@FreeBSD.org>1995-07-08 08:28:10 +0000
committeramurai <amurai@FreeBSD.org>1995-07-08 08:28:10 +0000
commit12091de41566fdff7513612a2345a4b4c08f3448 (patch)
tree33211f8cb8437cc275d2e27a83f6a9ec99c73131 /usr.sbin/ppp/command.c
parentced7ace3735ea07f1c2bf344cdf6d06171a67441 (diff)
downloadFreeBSD-src-12091de41566fdff7513612a2345a4b4c08f3448.zip
FreeBSD-src-12091de41566fdff7513612a2345a4b4c08f3448.tar.gz
Some implementation of PPP are required that starting a negotiaion by
sending *special* value as my address, even though the standard of PPP is defined full negotiation based. (e.g. "0.0.0.0" or Not "0.0.0.0")
Diffstat (limited to 'usr.sbin/ppp/command.c')
-rw-r--r--usr.sbin/ppp/command.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/usr.sbin/ppp/command.c b/usr.sbin/ppp/command.c
index d3b106b..ff80847 100644
--- a/usr.sbin/ppp/command.c
+++ b/usr.sbin/ppp/command.c
@@ -17,7 +17,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: command.c,v 1.5 1995/05/30 03:50:30 rgrimes Exp $
+ * $Id: command.c,v 1.6 1995/06/16 07:07:56 phk Exp $
*
*/
#include <ctype.h>
@@ -629,6 +629,12 @@ char **argv;
&DefHisAddress.ipaddr, &DefHisAddress.mask, &DefHisAddress.width);
if (--argc > 0) {
ifnetmask = GetIpAddr(*argv);
+ if (--argc > 0) {
+ ParseAddr(argc, argv++,
+ &DefTriggerAddress.ipaddr,
+ &DefTriggerAddress.mask,
+ &DefTriggerAddress.width);
+ }
}
}
}
OpenPOWER on IntegriCloud