summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/lcp.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1997-08-20 23:47:53 +0000
committerbrian <brian@FreeBSD.org>1997-08-20 23:47:53 +0000
commitee30a8036052078885c17ba37e65abaf0b280438 (patch)
treedab691e3723d46a019c4caaa85f02ac0654c39b7 /usr.sbin/ppp/lcp.c
parentf28d374978afbd1de19f8874f98b70ea15f6f2ea (diff)
downloadFreeBSD-src-ee30a8036052078885c17ba37e65abaf0b280438.zip
FreeBSD-src-ee30a8036052078885c17ba37e65abaf0b280438.tar.gz
Expand the "set stopped" command so that it can
idependently time out any of the FSMs. Split LCP logging into LCP, IPCP and CCP logging, and make room in "struct fsm" for the log level that the state machine should use.
Diffstat (limited to 'usr.sbin/ppp/lcp.c')
-rw-r--r--usr.sbin/ppp/lcp.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/ppp/lcp.c b/usr.sbin/ppp/lcp.c
index 01047ad..56c4867 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.24 1997/06/14 00:21:23 ache Exp $
+ * $Id: lcp.c,v 1.25 1997/08/01 02:02:28 brian Exp $
*
* TODO:
* o Validate magic number received from peer.
@@ -76,9 +76,10 @@ struct fsm LcpFsm = {
OPEN_ACTIVE,
ST_INITIAL, /* State of machine */
0, 0, 0,
-
0,
{ 0, 0, 0, NULL, NULL, NULL },
+ { 0, 0, 0, NULL, NULL, NULL },
+ LogLCP,
LcpLayerUp,
LcpLayerDown,
OpenPOWER on IntegriCloud