From 10844eebcc23bf66dc5ddd1a00364b22eb970fd6 Mon Sep 17 00:00:00 2001 From: "Alexandr D. Kanevskiy" Date: Wed, 10 Jul 2002 20:04:35 +0000 Subject: [PATCH] Don't drop connection if CCP not supported --- pppd/ccp.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 } -- 2.39.2