summaryrefslogtreecommitdiff
path: root/accel-pppd/ppp/ppp_ccp.c
diff options
context:
space:
mode:
authorKozlov Dmitry <xeb@mail.ru>2011-08-26 23:49:37 +0400
committerKozlov Dmitry <xeb@mail.ru>2011-08-26 23:49:37 +0400
commit00120e890feef1afc05ac492dfdba91eaf33737d (patch)
treef457e35eaa65cd6d0e34a4ca43a3f47f4258457d /accel-pppd/ppp/ppp_ccp.c
parent946bc48f3c060161353aceb96166820be80dd846 (diff)
downloadaccel-ppp-00120e890feef1afc05ac492dfdba91eaf33737d.tar.gz
accel-ppp-00120e890feef1afc05ac492dfdba91eaf33737d.zip
ppp: fix optional layers startup issue
Diffstat (limited to 'accel-pppd/ppp/ppp_ccp.c')
-rw-r--r--accel-pppd/ppp/ppp_ccp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pppd/ppp/ppp_ccp.c b/accel-pppd/ppp/ppp_ccp.c
index 5b7715a4..9602f7dd 100644
--- a/accel-pppd/ppp/ppp_ccp.c
+++ b/accel-pppd/ppp/ppp_ccp.c
@@ -210,7 +210,7 @@ static void ccp_layer_finished(struct ppp_fsm_t *fsm)
log_ppp_debug("ccp_layer_finished\n");
if (!ccp->started)
- ccp->ld.passive = 1;
+ ppp_layer_passive(ccp->ppp, &ccp->ld);
else if (!ccp->ppp->terminating)
ppp_terminate(ccp->ppp, TERM_USER_ERROR, 0);
}