X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Fccp.c;h=1f8fd73868210351499e88b5ae6c992dd1ada61a;hb=bfe93d2ac77c628c15ed7acf07ce6b6ef36f0831;hp=fd51952e02bb21eaf14339a587db1baaac3ec06b;hpb=ec27e67401c1e4031be2fa7f692d3d66d5bee586;p=ppp.git diff --git a/pppd/ccp.c b/pppd/ccp.c index fd51952..1f8fd73 100644 --- a/pppd/ccp.c +++ b/pppd/ccp.c @@ -28,7 +28,7 @@ * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#define RCSID "$Id: ccp.c,v 1.48 2004/11/13 02:28:15 paulus Exp $" +#define RCSID "$Id: ccp.c,v 1.49 2005/03/22 09:53:53 paulus Exp $" #include #include @@ -1158,8 +1158,11 @@ ccp_reqci(f, p, lenp, dont_nak) } } else { /* Neither are set. */ - newret = CONFREJ; - break; + /* We cannot accept this. */ + newret = CONFNAK; + /* Give the peer our idea of what can be used, + so it can choose and confirm */ + ho->mppe = ao->mppe; } /* rebuild the opts */