From ee30a8036052078885c17ba37e65abaf0b280438 Mon Sep 17 00:00:00 2001 From: brian Date: Wed, 20 Aug 1997 23:47:53 +0000 Subject: 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. --- usr.sbin/ppp/lcp.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'usr.sbin/ppp/lcp.c') 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, -- cgit v1.1