summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pppd/lcp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pppd/lcp.c b/pppd/lcp.c
index 9dc883e..6354f39 100644
--- a/pppd/lcp.c
+++ b/pppd/lcp.c
@@ -2279,6 +2279,8 @@ LcpSendEchoRequest (fsm *f)
if (get_ppp_stats(f->unit, &cur_stats) && cur_stats.pkts_in != last_pkts_in) {
last_pkts_in = cur_stats.pkts_in;
+ /* receipt of traffic indicates the link is working... */
+ lcp_echos_pending = 0;
return;
}
}