diff options
author | brian <brian@FreeBSD.org> | 1999-08-19 18:15:52 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1999-08-19 18:15:52 +0000 |
commit | 4f537e1f79af81dbd74c8715df819754bd55091a (patch) | |
tree | 188f5091ddc25f9fdde4ed6afcddde1786bdb534 /usr.sbin/ppp/physical.c | |
parent | fb84309fe9f3b17d4cf0820da12fa43a36ef6b0e (diff) | |
download | FreeBSD-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/physical.c')
-rw-r--r-- | usr.sbin/ppp/physical.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/ppp/physical.c b/usr.sbin/ppp/physical.c index 3e10f15..951f28e 100644 --- a/usr.sbin/ppp/physical.c +++ b/usr.sbin/ppp/physical.c @@ -16,7 +16,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: physical.c,v 1.19 1999/08/05 10:32:13 brian Exp $ + * $Id: physical.c,v 1.20 1999/08/06 20:04:05 brian Exp $ * */ @@ -45,7 +45,7 @@ #endif #include "layer.h" -#ifndef NOALIAS +#ifndef NONAT #include "alias_cmd.h" #endif #include "proto.h" @@ -985,8 +985,8 @@ physical_SetupStack(struct physical *p, const char *who, int how) link_Stack(&p->link, &lqrlayer); link_Stack(&p->link, &ccplayer); link_Stack(&p->link, &vjlayer); -#ifndef NOALIAS - link_Stack(&p->link, &aliaslayer); +#ifndef NONAT + link_Stack(&p->link, &natlayer); #endif if (how == PHYSICAL_FORCE_ASYNC && physical_IsSync(p)) { log_Printf(LogWARN, "Sync device setting ignored for ``%s'' device\n", who); |