summaryrefslogtreecommitdiff
path: root/accel-pppd/ppp
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2011-05-21 12:54:09 +0400
committerDmitry Kozlov <xeb@mail.ru>2011-05-21 12:54:09 +0400
commit4f248a91e5fedd5298c1bb99e309f9a5986f770c (patch)
treec853210c3f0837fd47e4d375d8a1e7550f103faa /accel-pppd/ppp
parent3cbee16f1ae968ae80d7e8fbe6a4359a901b3f40 (diff)
downloadaccel-ppp-4f248a91e5fedd5298c1bb99e309f9a5986f770c.tar.gz
accel-ppp-4f248a91e5fedd5298c1bb99e309f9a5986f770c.zip
ppp: fix connection problem when ccp was terminated
Diffstat (limited to 'accel-pppd/ppp')
-rw-r--r--accel-pppd/ppp/ppp_ccp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/accel-pppd/ppp/ppp_ccp.c b/accel-pppd/ppp/ppp_ccp.c
index f0334e8..fafe035 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);
}