From 9dff09c0b4a585d917516f102f672f2b3584835f Mon Sep 17 00:00:00 2001 From: brian Date: Mon, 8 Jun 1998 20:23:44 +0000 Subject: [PATCH] Correct ``set server'' usage and add mention that ``set ns'' changed in README.changes. Suggested by: stuart henderson --- usr.sbin/ppp/README.changes | 3 ++- usr.sbin/ppp/command.c | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/usr.sbin/ppp/README.changes b/usr.sbin/ppp/README.changes index 609b12f07e06..3e4873e5a5f0 100644 --- a/usr.sbin/ppp/README.changes +++ b/usr.sbin/ppp/README.changes @@ -40,7 +40,8 @@ o The `display' command has been removed. All information is available with the appropriate `show' command. o Msext does not need to be enabled/disabled. Setting the NBNS (set nbns) will auto enable it. The DNS side may be enabled/disabled, and if - enabled without a `set dns' will use values from /etc/resolv.conf. + enabled without a `set dns' (was `set ns') will use values from + /etc/resolv.conf. o Filters are now called `allow', `dial', `in' and `out'. `set ifilter ...' becomes `set filter in ...' etc. o Authname and Authkey may only be `set' in phase DEAD. diff --git a/usr.sbin/ppp/command.c b/usr.sbin/ppp/command.c index 4c1fe88b471d..7279cff2f223 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.136 1998/05/29 18:32:10 brian Exp $ + * $Id: command.c,v 1.137 1998/06/06 23:00:33 brian Exp $ * */ #include @@ -124,7 +124,7 @@ #define NEG_DNS 50 const char Version[] = "2.0-beta"; -const char VersionDate[] = "$Date: 1998/05/29 18:32:10 $"; +const char VersionDate[] = "$Date: 1998/06/06 23:00:33 $"; static int ShowCommand(struct cmdargs const *); static int TerminalCommand(struct cmdargs const *); @@ -1496,7 +1496,7 @@ static struct cmdtab const SetCommands[] = { {"redial", NULL, datalink_SetRedial, LOCAL_AUTH | LOCAL_CX, "Redial timeout", "set redial value|random[.value|random] [attempts]"}, {"server", "socket", SetServer, LOCAL_AUTH, - "server port", "set server|socket TcpPort|LocalName|none [mask]"}, + "server port", "set server|socket TcpPort|LocalName|none password [mask]"}, {"speed", NULL, SetModemSpeed, LOCAL_AUTH | LOCAL_CX, "modem speed", "set speed value"}, {"stopped", NULL, SetStoppedTimeout, LOCAL_AUTH | LOCAL_CX,