From 4f248a91e5fedd5298c1bb99e309f9a5986f770c Mon Sep 17 00:00:00 2001 From: Dmitry Kozlov Date: Sat, 21 May 2011 12:54:09 +0400 Subject: ppp: fix connection problem when ccp was terminated --- accel-pppd/ppp/ppp_ccp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'accel-pppd') diff --git a/accel-pppd/ppp/ppp_ccp.c b/accel-pppd/ppp/ppp_ccp.c index f0334e84..fafe0359 100644 --- a/accel-pppd/ppp/ppp_ccp.c +++ b/accel-pppd/ppp/ppp_ccp.c @@ -159,7 +159,8 @@ void ccp_layer_finish(struct ppp_layer_data_t *ld) ccp_set_flags(ccp->ppp->unit_fd, 0, 0); ccp->fsm.fsm_state = FSM_Closed; - + ccp->ppp->ccp_started = 1; + log_ppp_debug("ccp_layer_finished\n"); ppp_layer_finished(ccp->ppp, &ccp->ld); } -- cgit v1.2.3