From: Paul Mackerras Date: Thu, 24 Jun 1999 00:16:38 +0000 (+0000) Subject: fix problem where lcp echo requests were getting doubled, X-Git-Tag: ppp-2.4.7~692 X-Git-Url: https://git.ozlabs.org/?a=commitdiff_plain;h=971319042d43d6d079842f88622caf721a47805b;p=ppp.git fix problem where lcp echo requests were getting doubled, tripled, ... --- diff --git a/pppd/lcp.c b/pppd/lcp.c index c4785a9..f8e52fe 100644 --- a/pppd/lcp.c +++ b/pppd/lcp.c @@ -18,7 +18,7 @@ */ #ifndef lint -static char rcsid[] = "$Id: lcp.c,v 1.40 1999/05/13 00:33:26 paulus Exp $"; +static char rcsid[] = "$Id: lcp.c,v 1.41 1999/06/24 00:16:38 paulus Exp $"; #endif /* @@ -1819,6 +1819,8 @@ LcpEchoCheck (f) fsm *f; { LcpSendEchoRequest (f); + if (f->state != OPENED) + return; /* * Start the timer for the next interval.