diff options
author | Kozlov Dmitry <dima@server> | 2010-09-23 19:43:39 +0400 |
---|---|---|
committer | Kozlov Dmitry <dima@server> | 2010-09-23 19:43:39 +0400 |
commit | 8681ad6d60565ca2e399156bf721f67f8a8bdc92 (patch) | |
tree | e736428b3d5dcfe52f65d9234b8ebc4ba17259cf /accel-pptpd/ppp/ppp_fsm.c | |
parent | 82b0f0953159fc9ab8e387f5e6014dc377b14b38 (diff) | |
download | accel-ppp-8681ad6d60565ca2e399156bf721f67f8a8bdc92.tar.gz accel-ppp-8681ad6d60565ca2e399156bf721f67f8a8bdc92.zip |
various bug fixes
Diffstat (limited to 'accel-pptpd/ppp/ppp_fsm.c')
-rw-r--r-- | accel-pptpd/ppp/ppp_fsm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/accel-pptpd/ppp/ppp_fsm.c b/accel-pptpd/ppp/ppp_fsm.c index 3b8d854..8f8e855 100644 --- a/accel-pptpd/ppp/ppp_fsm.c +++ b/accel-pptpd/ppp/ppp_fsm.c @@ -177,13 +177,13 @@ void ppp_fsm_timeout1(struct ppp_fsm_t *layer) { case FSM_Closing: stop_timer(layer); - if (layer->layer_finished) layer->layer_finished(layer); layer->fsm_state=FSM_Closed; + if (layer->layer_finished) layer->layer_finished(layer); break; case FSM_Stopping: stop_timer(layer); - if (layer->layer_finished) layer->layer_finished(layer); layer->fsm_state=FSM_Stopped; + if (layer->layer_finished) layer->layer_finished(layer); break; case FSM_Ack_Rcvd: case FSM_Req_Sent: @@ -397,8 +397,8 @@ void ppp_fsm_recv_term_ack(struct ppp_fsm_t *layer) switch(layer->fsm_state) { case FSM_Closing: - if (layer->layer_finished) layer->layer_finished(layer); layer->fsm_state=FSM_Closed; + if (layer->layer_finished) layer->layer_finished(layer); break; case FSM_Stopping: if (layer->layer_finished) layer->layer_finished(layer); |