Allow cli session changes to happen if the session is timing out

This commit is contained in:
fred_nerk 2004-08-02 06:06:28 +00:00
parent 6e3d21bbdc
commit 4b16fcbdfd
3 changed files with 112 additions and 112 deletions

4
ppp.c
View file

@ -1,6 +1,6 @@
// L2TPNS PPP Stuff
char const *cvs_id_ppp = "$Id: ppp.c,v 1.10 2004/08/02 05:40:21 fred_nerk Exp $";
char const *cvs_id_ppp = "$Id: ppp.c,v 1.11 2004/08/02 06:06:28 fred_nerk Exp $";
#include <stdio.h>
#include <string.h>
@ -614,7 +614,7 @@ void processipcp(tunnelidt t, sessionidt s, u8 * p, u16 l)
*(u32 *) (i + 2) = htonl(session[s].ip);
*p = ConfigNak;
log(4, session[s].ip, s, t, " No, a ConfigNak, client is requesting IP - sending %s\n",
inet_toa(session[s].ip));
inet_toa(htonl(session[s].ip)));
}
if (!(q = makeppp(b, sizeof(b), p, l, t, s, PPPIPCP)))
{