From 971319042d43d6d079842f88622caf721a47805b Mon Sep 17 00:00:00 2001 From: Paul Mackerras Date: Thu, 24 Jun 1999 00:16:38 +0000 Subject: [PATCH 1/1] fix problem where lcp echo requests were getting doubled, tripled, ... --- pppd/lcp.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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. -- 2.39.2