From: Paul Mackerras Date: Fri, 19 May 1995 03:17:09 +0000 (+0000) Subject: fix up sending rejects after nak limit reached X-Git-Tag: v2.2~96 X-Git-Url: https://git.ozlabs.org/?a=commitdiff_plain;h=ce9491a4b11f694af7e4cd628272ac2abb121850;p=ppp.git fix up sending rejects after nak limit reached --- 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)