diff options
author | Kozlov Dmitry <xeb@mail.ru> | 2011-08-29 01:16:21 +0400 |
---|---|---|
committer | Kozlov Dmitry <xeb@mail.ru> | 2011-08-29 01:16:21 +0400 |
commit | c4c6ceed2b0f973022fc429a7e709c057c95e9dc (patch) | |
tree | 677a64a1d82746d41694342a56d4e9dcaab1f822 /accel-pppd/ppp/ppp_ccp.c | |
parent | f53638854c99e4b6b4b1c167c44fbb6dbfd0c6e7 (diff) | |
download | accel-ppp-c4c6ceed2b0f973022fc429a7e709c057c95e9dc.tar.gz accel-ppp-c4c6ceed2b0f973022fc429a7e709c057c95e9dc.zip |
ppp: ccp,ipcp,ipv6cp: set state of fsm to closed after layer was finished
Diffstat (limited to 'accel-pppd/ppp/ppp_ccp.c')
-rw-r--r-- | accel-pppd/ppp/ppp_ccp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/accel-pppd/ppp/ppp_ccp.c b/accel-pppd/ppp/ppp_ccp.c index 9602f7dd..aac7ac2f 100644 --- a/accel-pppd/ppp/ppp_ccp.c +++ b/accel-pppd/ppp/ppp_ccp.c @@ -213,6 +213,8 @@ static void ccp_layer_finished(struct ppp_fsm_t *fsm) ppp_layer_passive(ccp->ppp, &ccp->ld); else if (!ccp->ppp->terminating) ppp_terminate(ccp->ppp, TERM_USER_ERROR, 0); + + fsm->fsm_state = FSM_Closed; } static void ccp_layer_down(struct ppp_fsm_t *fsm) |