From 34441bfff5c5156e303c6ea52543b0c0123c87e8 Mon Sep 17 00:00:00 2001 From: brian Date: Tue, 6 Jan 1998 00:58:31 +0000 Subject: Correct the return value of ReportProtStatus() ("show proto"). Submitted by: Dave Bodenstab --- usr.sbin/ppp/hdlc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/ppp/hdlc.c b/usr.sbin/ppp/hdlc.c index 5a05f76..f56bc50 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.24 1997/12/04 18:49:26 brian Exp $ + * $Id: hdlc.c,v 1.25 1997/12/24 09:29:00 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 -- cgit v1.1