diff options
author | phk <phk@FreeBSD.org> | 1996-01-30 20:04:34 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1996-01-30 20:04:34 +0000 |
commit | 62d807ed9dfe8c9430d2db3afa124efed328d1b0 (patch) | |
tree | 04717b08fcf28642e80f61fe3097f1a5f0a6c0f8 /usr.sbin/ppp/command.c | |
parent | 212c3eba091c449ada760e94396c1d08a828ea7f (diff) | |
download | FreeBSD-src-62d807ed9dfe8c9430d2db3afa124efed328d1b0.zip FreeBSD-src-62d807ed9dfe8c9430d2db3afa124efed328d1b0.tar.gz |
Use libmd's MD5.
inline hdlc checksum calculation.
make big tables const.
Diffstat (limited to 'usr.sbin/ppp/command.c')
-rw-r--r-- | usr.sbin/ppp/command.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/ppp/command.c b/usr.sbin/ppp/command.c index fc6b25c..54c356d 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.12 1996/01/11 05:58:59 peter Exp $ + * $Id: command.c,v 1.13 1996/01/11 17:48:41 phk Exp $ * */ #include <sys/types.h> @@ -215,7 +215,7 @@ static char StrOption[] = "option .."; static char StrRemote[] = "[remote]"; char StrNull[] = ""; -struct cmdtab Commands[] = { +struct cmdtab const Commands[] = { { "accept", NULL, AcceptCommand, LOCAL_AUTH, "accept option request", StrOption}, { "add", NULL, AddCommand, LOCAL_AUTH, @@ -354,7 +354,7 @@ static int ShowRedial() extern int ShowIfilter(), ShowOfilter(), ShowDfilter(), ShowAfilter(); -struct cmdtab ShowCommands[] = { +struct cmdtab const ShowCommands[] = { { "afilter", NULL, ShowAfilter, LOCAL_AUTH, "Show keep Alive filters", StrOption}, { "auth", NULL, ShowAuthKey, LOCAL_AUTH, @@ -866,7 +866,7 @@ static char StrValue[] = "value"; extern int SetIfilter(), SetOfilter(), SetDfilter(), SetAfilter(); -struct cmdtab SetCommands[] = { +struct cmdtab const SetCommands[] = { { "accmap", NULL, SetVariable, LOCAL_AUTH, "Set accmap value", "hex-value", (void *)VAR_ACCMAP}, { "afilter", NULL, SetAfilter, LOCAL_AUTH, |