From: Paul Mackerras Date: Thu, 13 May 1999 00:33:26 +0000 (+0000) Subject: set exit status for loopback detected X-Git-Tag: v2.3.8~9 X-Git-Url: https://git.ozlabs.org/?a=commitdiff_plain;h=96ea87ebbd9f1bca4797b3d0c8b5de7e2635eb9a;p=ppp.git set exit status for loopback detected --- diff --git a/pppd/lcp.c b/pppd/lcp.c index dbf100d..c4785a9 100644 --- a/pppd/lcp.c +++ b/pppd/lcp.c @@ -18,7 +18,7 @@ */ #ifndef lint -static char rcsid[] = "$Id: lcp.c,v 1.39 1999/05/12 06:19:47 paulus Exp $"; +static char rcsid[] = "$Id: lcp.c,v 1.40 1999/05/13 00:33:26 paulus Exp $"; #endif /* @@ -1056,6 +1056,7 @@ lcp_nakci(f, p, len) if (++try.numloops >= lcp_loopbackfail) { notice("Serial line is looped back."); lcp_close(f->unit, "Loopback detected"); + status = EXIT_LOOPBACK; } } else try.numloops = 0;