]> git.ozlabs.org Git - ppp.git/commit
Improve MPPE rejection logic.
authorFrank Cusack <fcusack@fcusack.com>
Tue, 24 Dec 2002 00:34:13 +0000 (00:34 +0000)
committerFrank Cusack <fcusack@fcusack.com>
Tue, 24 Dec 2002 00:34:13 +0000 (00:34 +0000)
commit45df90628c16b438bbf24e009da48f39e49418c7
treee305d7aa45229bcde32de9198ca5804165749bc5
parente50870a901749c7390109404e90c095ea3ef7072
Improve MPPE rejection logic.

When doing MPPE, if the peer doesn't agree to it, we need to terminate
LCP.  Older win* clients request Stac/LZS along with MPPE (because
MPPE overloads MPPC ... sigh).  So if sending CONFREJ, we would keep
LCP up if we saw a CI_MPPE *at all*, because the CONFREJ may may have
been due to the Stac/LZS option.  Now, we only keep LCP up if the MPPE
offer is acceptable.

Thanks to James Cameron for showing this problem in action.
pppd/ccp.c