diff options
author | brian <brian@cvs.openbsd.org> | 1998-01-06 01:03:02 +0000 |
---|---|---|
committer | brian <brian@cvs.openbsd.org> | 1998-01-06 01:03:02 +0000 |
commit | 8af452ff04a0c662c97daaf6723e326fb8551371 (patch) | |
tree | a357c9e09d76c238a79354254c010a04c64c4dc6 /usr.sbin/ppp | |
parent | 4d8e56d6516640b48edf974d83026dd60d2a7e6a (diff) |
Correct the return value of ReportProtStatus() ("show proto").
Submitted by: Dave Bodenstab <imdave@mcs.net>
Diffstat (limited to 'usr.sbin/ppp')
-rw-r--r-- | usr.sbin/ppp/hdlc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/hdlc.c b/usr.sbin/ppp/hdlc.c index 16477ffbe25..e1c5a578df5 100644 --- a/usr.sbin/ppp/hdlc.c +++ b/usr.sbin/ppp/hdlc.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: hdlc.c,v 1.4 1997/12/24 09:30:32 brian Exp $ + * $Id: hdlc.c,v 1.5 1998/01/06 01:03:01 brian Exp $ * * TODO: */ @@ -453,7 +453,7 @@ ReportProtStatus(struct cmdargs const *arg) } while (statp->number); if (cnt) fprintf(VarTerm, "\n"); - return (1); + return (0); } int |