X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Fccp.c;h=2941de5f7a5c79b72a603153866442850bcfdedb;hb=c2134507ca4699d192d79337a8fd2e947803dad9;hp=8ff92f3be179b6824050a833a88d57afe712fca9;hpb=05c09ae62d0b4ff67fb26c37a01e6a07bb593c0c;p=ppp.git diff --git a/pppd/ccp.c b/pppd/ccp.c index 8ff92f3..2941de5 100644 --- a/pppd/ccp.c +++ b/pppd/ccp.c @@ -25,7 +25,7 @@ * OR MODIFICATIONS. */ -#define RCSID "$Id: ccp.c,v 1.37 2002/06/24 12:57:15 dfs Exp $" +#define RCSID "$Id: ccp.c,v 1.38 2002/07/10 20:04:35 kad Exp $" #include #include @@ -512,9 +512,10 @@ ccp_protrej(unit) fsm_lowerdown(&ccp_fsm[unit]); #ifdef MPPE - if (ccp_gotoptions[unit].mppe) + if (ccp_gotoptions[unit].mppe) { error("MPPE required but peer negotiation failed"); lcp_close(unit, "MPPE required but peer negotiation failed"); + } #endif }