call lcp_close not lcp_lowerdown when no echo received
authorPaul Mackerras <paulus@samba.org>
Tue, 9 Aug 1994 06:24:59 +0000 (06:24 +0000)
committerPaul Mackerras <paulus@samba.org>
Tue, 9 Aug 1994 06:24:59 +0000 (06:24 +0000)
pppd/lcp.c

index 801dc5ae0f25c3985fcc4260524327d49d62a3ce..62c8064c8741f2583d589f4d12c3bde929866cf2 100644 (file)
@@ -18,7 +18,7 @@
  */
 
 #ifndef lint
-static char rcsid[] = "$Id: lcp.c,v 1.9 1994/06/14 06:07:47 paulus Exp $";
+static char rcsid[] = "$Id: lcp.c,v 1.10 1994/08/09 06:24:59 paulus Exp $";
 #endif
 
 /*
@@ -1483,7 +1483,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 */
     }
 }