diff options
author | Brian Somers <brian@FreeBSD.org> | 1999-08-19 18:15:52 +0000 |
---|---|---|
committer | Brian Somers <brian@FreeBSD.org> | 1999-08-19 18:15:52 +0000 |
commit | 67b072f732325b4840b950dcdadccf029dd6c655 (patch) | |
tree | 06704985a5365275088892b7b672cd4af557e3c9 /usr.sbin/ppp/ipcp.c | |
parent | c81c6baf1d40e0586fffff5c76d913b7e1653653 (diff) | |
download | src-67b072f732325b4840b950dcdadccf029dd6c655.tar.gz src-67b072f732325b4840b950dcdadccf029dd6c655.zip |
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''.
Notes
Notes:
svn path=/head/; revision=50059
Diffstat (limited to 'usr.sbin/ppp/ipcp.c')
-rw-r--r-- | usr.sbin/ppp/ipcp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/ppp/ipcp.c b/usr.sbin/ppp/ipcp.c index 1e5600026f31..e5a7e074b9c8 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 |