summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/ipcp.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1999-08-19 18:15:52 +0000
committerbrian <brian@FreeBSD.org>1999-08-19 18:15:52 +0000
commit4f537e1f79af81dbd74c8715df819754bd55091a (patch)
tree188f5091ddc25f9fdde4ed6afcddde1786bdb534 /usr.sbin/ppp/ipcp.c
parentfb84309fe9f3b17d4cf0820da12fa43a36ef6b0e (diff)
downloadFreeBSD-src-4f537e1f79af81dbd74c8715df819754bd55091a.zip
FreeBSD-src-4f537e1f79af81dbd74c8715df819754bd55091a.tar.gz
o Add the -foreground switch. This switch behaves like -background except
that ppp stays in the foreground. o Add the -quiet switch to quieten ppps startup o Add the -nat flag and discourage the use of the -alias flag. Both do the same thing. o Correct some nat usage strings. o Change the internal ``alias'' command to ``nat''.
Diffstat (limited to 'usr.sbin/ppp/ipcp.c')
-rw-r--r--usr.sbin/ppp/ipcp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/ppp/ipcp.c b/usr.sbin/ppp/ipcp.c
index 1e56000..e5a7e07 100644
--- a/usr.sbin/ppp/ipcp.c
+++ b/usr.sbin/ppp/ipcp.c
@@ -17,7 +17,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: ipcp.c,v 1.81 1999/06/08 20:12:06 brian Exp $
+ * $Id: ipcp.c,v 1.82 1999/08/05 10:32:12 brian Exp $
*
* TODO:
* o Support IPADDRS properly
@@ -41,7 +41,7 @@
#include <termios.h>
#include <unistd.h>
-#ifndef NOALIAS
+#ifndef NONAT
#ifdef __FreeBSD__
#include <alias.h>
#else
@@ -745,8 +745,8 @@ ipcp_InterfaceUp(struct ipcp *ipcp)
return 0;
}
-#ifndef NOALIAS
- if (ipcp->fsm.bundle->AliasEnabled)
+#ifndef NONAT
+ if (ipcp->fsm.bundle->NatEnabled)
PacketAliasSetAddress(ipcp->my_ip);
#endif
OpenPOWER on IntegriCloud