From ce9491a4b11f694af7e4cd628272ac2abb121850 Mon Sep 17 00:00:00 2001 From: Paul Mackerras Date: Fri, 19 May 1995 03:17:09 +0000 Subject: [PATCH] fix up sending rejects after nak limit reached --- pppd/ccp.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pppd/ccp.c b/pppd/ccp.c index e695fe9..0ecfc97 100644 --- a/pppd/ccp.c +++ b/pppd/ccp.c @@ -26,7 +26,7 @@ */ #ifndef lint -static char rcsid[] = "$Id: ccp.c,v 1.8 1995/04/26 06:47:24 paulus Exp $"; +static char rcsid[] = "$Id: ccp.c,v 1.9 1995/05/19 03:17:09 paulus Exp $"; #endif #include @@ -452,6 +452,8 @@ ccp_reqci(f, p, lenp, dont_nak) } } + if (newret == CONFNAK && dont_nak) + newret = CONFREJ; if (!(newret == CONFACK || newret == CONFNAK && ret == CONFREJ)) { /* we're returning this option */ if (newret == CONFREJ && ret == CONFNAK)