diff options
author | phk <phk@FreeBSD.org> | 1996-01-11 17:48:59 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1996-01-11 17:48:59 +0000 |
commit | 205670521861f654e6607b24a0d60c9dea033b3c (patch) | |
tree | 97b25e0059b526362e8a00bdfee724ccf226243c /usr.sbin/ppp/command.c | |
parent | 7bf532e1cd2982ba101a1fceae9eee6faa99e57c (diff) | |
download | FreeBSD-src-205670521861f654e6607b24a0d60c9dea033b3c.zip FreeBSD-src-205670521861f654e6607b24a0d60c9dea033b3c.tar.gz |
Final cleanup for now. -Wall is now silent. A couple of bogons found.
Diffstat (limited to 'usr.sbin/ppp/command.c')
-rw-r--r-- | usr.sbin/ppp/command.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/usr.sbin/ppp/command.c b/usr.sbin/ppp/command.c index c1ac81f..fc6b25c 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.11 1996/01/10 21:27:40 phk Exp $ + * $Id: command.c,v 1.12 1996/01/11 05:58:59 peter Exp $ * */ #include <sys/types.h> @@ -30,6 +30,7 @@ #include "lcp.h" #include "ipcp.h" #include "modem.h" +#include "filter.h" #include "command.h" #include "hdlc.h" #include "vars.h" @@ -318,8 +319,8 @@ static int ShowAuthKey() static int ShowVersion() { - extern char *VarVersion[]; - extern char *VarLocalVersion[]; + extern char VarVersion[]; + extern char VarLocalVersion[]; printf("%s - %s \n", VarVersion, VarLocalVersion); return(1); @@ -833,7 +834,7 @@ int param; strncpy(VarDevice, *argv, sizeof(VarDevice)-1); break; case VAR_ACCMAP: - sscanf(*argv, "%x", &map); + sscanf(*argv, "%lx", &map); VarAccmap = map; break; case VAR_PHONE: |