diff options
author | 1998-01-06 01:03:01 +0000 | |
---|---|---|
committer | 1998-01-06 01:03:01 +0000 | |
commit | 4c9bea6a14a74f042fe6783c41a57783ef17d256 (patch) | |
tree | 21c8fac7021b35cafeee3f5efc40feb4fe72b3d8 | |
parent | document the "#" hack. (diff) | |
download | wireguard-openbsd-4c9bea6a14a74f042fe6783c41a57783ef17d256.tar.xz wireguard-openbsd-4c9bea6a14a74f042fe6783c41a57783ef17d256.zip |
Correct the return value of ReportProtStatus() ("show proto").
Submitted by: Dave Bodenstab <imdave@mcs.net>
-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 |