From 4e9914b70899fe5c74c2f18f7b37693d1d0e14f6 Mon Sep 17 00:00:00 2001 From: Brian Somers Date: Tue, 6 Jan 1998 00:58:31 +0000 Subject: [PATCH] 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 5a05f7633c94..f56bc50845a2 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