mirror of
https://github.com/paulusmack/ppp.git
synced 2024-12-12 04:43:56 +08:00
fix up sending rejects after nak limit reached
This commit is contained in:
parent
064450d2b3
commit
ce9491a4b1
@ -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 <syslog.h>
|
||||
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user