From 277db41ca30baaf8b6e694ab4aea8e95bf8f642c Mon Sep 17 00:00:00 2001 From: paulus Date: Tue, 28 Jun 1994 04:38:40 +0000 Subject: [PATCH] Fix a bug preventing the lcp-echo-failure option from working. --- usr.sbin/pppd/lcp.c | 4 ++-- usr.sbin/pppd/pppd/lcp.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/usr.sbin/pppd/lcp.c b/usr.sbin/pppd/lcp.c index b95eda29612e..041853ad1450 100644 --- a/usr.sbin/pppd/lcp.c +++ b/usr.sbin/pppd/lcp.c @@ -18,7 +18,7 @@ */ #ifndef lint -static char rcsid[] = "$Id: lcp.c,v 1.7 1994/06/28 04:32:16 paulus Exp $"; +static char rcsid[] = "$Id: lcp.c,v 1.8 1994/06/28 04:38:40 paulus Exp $"; #endif /* @@ -1474,7 +1474,7 @@ void LcpLinkFailure (f) { if (f->state == OPENED) { syslog (LOG_NOTICE, "Excessive lack of response to LCP echo frames."); - lcp_lowerdown(f->unit); /* Reset connection */ + lcp_close(f->unit); /* Reset connection */ } } diff --git a/usr.sbin/pppd/pppd/lcp.c b/usr.sbin/pppd/pppd/lcp.c index b95eda29612e..041853ad1450 100644 --- a/usr.sbin/pppd/pppd/lcp.c +++ b/usr.sbin/pppd/pppd/lcp.c @@ -18,7 +18,7 @@ */ #ifndef lint -static char rcsid[] = "$Id: lcp.c,v 1.7 1994/06/28 04:32:16 paulus Exp $"; +static char rcsid[] = "$Id: lcp.c,v 1.8 1994/06/28 04:38:40 paulus Exp $"; #endif /* @@ -1474,7 +1474,7 @@ void LcpLinkFailure (f) { if (f->state == OPENED) { syslog (LOG_NOTICE, "Excessive lack of response to LCP echo frames."); - lcp_lowerdown(f->unit); /* Reset connection */ + lcp_close(f->unit); /* Reset connection */ } }