aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/ppp/physical.c
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>1999-08-19 18:15:52 +0000
committerBrian Somers <brian@FreeBSD.org>1999-08-19 18:15:52 +0000
commit67b072f732325b4840b950dcdadccf029dd6c655 (patch)
tree06704985a5365275088892b7b672cd4af557e3c9 /usr.sbin/ppp/physical.c
parentc81c6baf1d40e0586fffff5c76d913b7e1653653 (diff)
downloadsrc-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/physical.c')
-rw-r--r--usr.sbin/ppp/physical.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/ppp/physical.c b/usr.sbin/ppp/physical.c
index 3e10f152fd56..951f28e1d091 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);