summaryrefslogtreecommitdiff
path: root/accel-pppd
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2011-05-22 13:05:00 +0400
committerDmitry Kozlov <xeb@mail.ru>2011-05-22 13:05:00 +0400
commit0e7dab14a5753a162f9643d78623a62d6c9f477b (patch)
tree6654606dd3688131c5f898dd081430a5b576e5ad /accel-pppd
parentd0371ca7cd2ed125bb293f23e020bfb4e12d0d19 (diff)
downloadaccel-ppp-0e7dab14a5753a162f9643d78623a62d6c9f477b.tar.gz
accel-ppp-0e7dab14a5753a162f9643d78623a62d6c9f477b.zip
ppp: fix connection problem when ccp was terminated
Diffstat (limited to 'accel-pppd')
-rw-r--r--accel-pppd/ppp/ppp_ccp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/accel-pppd/ppp/ppp_ccp.c b/accel-pppd/ppp/ppp_ccp.c
index fafe035..5a5d6f1 100644
--- a/accel-pppd/ppp/ppp_ccp.c
+++ b/accel-pppd/ppp/ppp_ccp.c
@@ -200,6 +200,7 @@ static void ccp_layer_down(struct ppp_fsm_t *fsm)
log_ppp_debug("ccp_layer_finished\n");
+ ccp->ppp->ccp_started = 1;
if (!ccp->started)
ppp_layer_started(ccp->ppp, &ccp->ld);
ccp->started = 0;