summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbrian <brian@openbsd.org>1998-01-06 01:03:01 +0000
committerbrian <brian@openbsd.org>1998-01-06 01:03:01 +0000
commit4c9bea6a14a74f042fe6783c41a57783ef17d256 (patch)
tree21c8fac7021b35cafeee3f5efc40feb4fe72b3d8
parentdocument the "#" hack. (diff)
downloadwireguard-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.c4
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