diff options
author | Kozlov Dmitry <xeb@mail.ru> | 2012-08-03 16:35:00 +0400 |
---|---|---|
committer | Kozlov Dmitry <xeb@mail.ru> | 2012-08-03 16:39:38 +0400 |
commit | e4472e7ee5a2d493266800931593dbaa6ac0d56d (patch) | |
tree | a38db0dde928cb2f79039cbad27e7d0d5265d652 | |
parent | 75c3e6502bce4f88dd2750f3cc2814a2522ecf06 (diff) | |
download | accel-ppp-e4472e7ee5a2d493266800931593dbaa6ac0d56d.tar.gz accel-ppp-e4472e7ee5a2d493266800931593dbaa6ac0d56d.zip |
ppp: don't drop connection when mppe=prefer and user rejects ccp
Conflicts:
accel-pppd/ppp/ppp_ccp.c
-rw-r--r-- | accel-pppd/ppp/ccp_mppe.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/accel-pppd/ppp/ccp_mppe.c b/accel-pppd/ppp/ccp_mppe.c index ae2b2ca..b24690b 100644 --- a/accel-pppd/ppp/ccp_mppe.c +++ b/accel-pppd/ppp/ccp_mppe.c @@ -82,6 +82,9 @@ static struct ccp_option_t *mppe_init(struct ppp_ccp_t *ccp) if (mppe == MPPE_REQUIRE) ccp->ld.optional = 0; + if (mppe == MPPE_REQUIRE) + ccp->ld.optional = 0; + mppe_opt->opt.id = CI_MPPE; mppe_opt->opt.len = 6; |