diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2011-05-21 12:54:09 +0400 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2011-05-21 12:54:09 +0400 |
commit | 4f248a91e5fedd5298c1bb99e309f9a5986f770c (patch) | |
tree | c853210c3f0837fd47e4d375d8a1e7550f103faa /accel-pppd/ppp/ppp_ccp.c | |
parent | 3cbee16f1ae968ae80d7e8fbe6a4359a901b3f40 (diff) | |
download | accel-ppp-4f248a91e5fedd5298c1bb99e309f9a5986f770c.tar.gz accel-ppp-4f248a91e5fedd5298c1bb99e309f9a5986f770c.zip |
ppp: fix connection problem when ccp was terminated
Diffstat (limited to 'accel-pppd/ppp/ppp_ccp.c')
-rw-r--r-- | accel-pppd/ppp/ppp_ccp.c | 3 |
1 files changed, 2 insertions, 1 deletions
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); } |