diff options
| author | Brian Somers <brian@FreeBSD.org> | 1997-11-18 19:38:27 +0000 |
|---|---|---|
| committer | Brian Somers <brian@FreeBSD.org> | 1997-11-18 19:38:27 +0000 |
| commit | f9e4a0ca7dfba7eeab5d2cd78f116b951ccb2cfd (patch) | |
| tree | 62db341e97d1eef599b5f27be7f4a9970d1c6795 /usr.sbin | |
| parent | 0346113c71fc65cc32196fdd537b3ec619de2cc9 (diff) | |
Notes
Diffstat (limited to 'usr.sbin')
| -rw-r--r-- | usr.sbin/ppp/command.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/command.c b/usr.sbin/ppp/command.c index 2548ba990066..5b05036f3df8 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.102 1997/11/13 14:43:14 brian Exp $ + * $Id: command.c,v 1.103 1997/11/18 00:19:28 brian Exp $ * */ #include <sys/param.h> @@ -1013,7 +1013,7 @@ SetLogLevel(struct cmdtab const * list, int argc, char **argv) void (*DiscardAll)(void); res = 0; - if (strcasecmp(argv[0], "local")) { + if (argc == 0 || strcasecmp(argv[0], "local")) { Discard = LogDiscard; Keep = LogKeep; DiscardAll = LogDiscardAll; |
