- TerminateAck fix from Yuri

- Adject cli_loop args for libcli 1.8.0
- Allow for backward compatabity in C_PING packets
- Don't send RADIUS stop messages from sessionshutdown when called from
  sessionkill.
This commit is contained in:
bodea 2004-07-11 07:57:33 +00:00
parent 570d0d5385
commit 3ef237977d
5 changed files with 33 additions and 23 deletions

6
ppp.c
View file

@ -1,6 +1,6 @@
// L2TPNS PPP Stuff
char const *cvs_id_ppp = "$Id: ppp.c,v 1.7 2004/07/08 16:54:35 bodea Exp $";
char const *cvs_id_ppp = "$Id: ppp.c,v 1.8 2004/07/11 07:57:35 bodea Exp $";
#include <stdio.h>
#include <string.h>
@ -420,9 +420,9 @@ void processlcp(tunnelidt t, sessionidt s, u8 * p, u16 l)
sessionshutdown(s, "Remote end closed connection.");
tunnelsend(b, l + (q - b), t); // send it
}
else if (*p == TerminateReq)
else if (*p == TerminateAck)
{
sessionshutdown(s, "Remote end closed connection.");
sessionshutdown(s, "Connection closed.");
}
else if (*p == EchoReq)
{