summaryrefslogtreecommitdiff
path: root/accel-pppd/ppp
diff options
context:
space:
mode:
authorKozlov Dmitry <xeb@mail.ru>2012-04-29 18:55:30 +0400
committerKozlov Dmitry <xeb@mail.ru>2012-04-29 18:55:30 +0400
commita3181b5d5b1146125ebc4288b8501a8f23cf1331 (patch)
tree4f57893b031ec28adb8e3672373712b04105e017 /accel-pppd/ppp
parent88b01cc61f8cbd41162041da7bf206eca7e04b2f (diff)
downloadaccel-ppp-a3181b5d5b1146125ebc4288b8501a8f23cf1331.tar.gz
accel-ppp-a3181b5d5b1146125ebc4288b8501a8f23cf1331.zip
ppp: initiat CCP if mppe=prefer
Diffstat (limited to 'accel-pppd/ppp')
-rw-r--r--accel-pppd/ppp/ccp_mppe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pppd/ppp/ccp_mppe.c b/accel-pppd/ppp/ccp_mppe.c
index 7c432842..90f9d838 100644
--- a/accel-pppd/ppp/ccp_mppe.c
+++ b/accel-pppd/ppp/ccp_mppe.c
@@ -76,7 +76,7 @@ static struct ccp_option_t *mppe_init(struct ppp_ccp_t *ccp)
else
mppe_opt->mppe = -1;
- if (mppe == MPPE_REQUIRE)
+ if (mppe == MPPE_REQUIRE || mppe == MPPE_PREFER)
ccp->ld.passive = 0;
mppe_opt->opt.id = CI_MPPE;