summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/lcp.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1997-09-03 02:08:20 +0000
committerbrian <brian@FreeBSD.org>1997-09-03 02:08:20 +0000
commita5b9ae295918c9219a141f439a54c0478e8463c3 (patch)
treef025931d5d51eb8c3d89f9373f64572853a573de /usr.sbin/ppp/lcp.c
parent2ee142dce306fa15e6b932e9243a4fed3e1be7c8 (diff)
downloadFreeBSD-src-a5b9ae295918c9219a141f439a54c0478e8463c3.zip
FreeBSD-src-a5b9ae295918c9219a141f439a54c0478e8463c3.tar.gz
Bring CCP and IPCP layers down properly when LCP
comes down. Give a count of bytes sent/received in IPCP log.
Diffstat (limited to 'usr.sbin/ppp/lcp.c')
-rw-r--r--usr.sbin/ppp/lcp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/lcp.c b/usr.sbin/ppp/lcp.c
index 89f3f75..9484b7b 100644
--- a/usr.sbin/ppp/lcp.c
+++ b/usr.sbin/ppp/lcp.c
@@ -17,7 +17,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: lcp.c,v 1.28 1997/08/31 22:59:31 brian Exp $
+ * $Id: lcp.c,v 1.29 1997/09/03 00:40:49 brian Exp $
*
* TODO:
* o Validate magic number received from peer.
@@ -366,9 +366,9 @@ LcpLayerUp(struct fsm * fp)
static void
LcpLayerDown(struct fsm * fp)
{
- LogPrintf(LogLCP, "LcpLayerDown\n");
StopAllTimers();
OsLinkdown();
+ LogPrintf(LogLCP, "LcpLayerDown\n");
NewPhase(PHASE_TERMINATE);
}
OpenPOWER on IntegriCloud