projects
/
l2tpns.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix IPCP length test to allow Terminate-Request (4 bytes)
[l2tpns.git]
/
ppp.c
diff --git
a/ppp.c
b/ppp.c
index
0bc8d20
..
578273a
100644
(file)
--- a/
ppp.c
+++ b/
ppp.c
@@
-1,6
+1,6
@@
// L2TPNS PPP Stuff
// L2TPNS PPP Stuff
-char const *cvs_id_ppp = "$Id: ppp.c,v 1.9
6 2006/02/17 15:05:14
bodea Exp $";
+char const *cvs_id_ppp = "$Id: ppp.c,v 1.9
7 2006/03/27 03:01:08
bodea Exp $";
#include <stdio.h>
#include <string.h>
#include <stdio.h>
#include <string.h>
@@
-967,7
+967,7
@@
void processipcp(sessionidt s, tunnelidt t, uint8_t *p, uint16_t l)
CSTAT(processipcp);
LOG_HEX(5, "IPCP", p, l);
CSTAT(processipcp);
LOG_HEX(5, "IPCP", p, l);
- if (l <
5
)
+ if (l <
4
)
{
LOG(1, s, t, "Short IPCP %d bytes\n", l);
STAT(tunnel_rx_errors);
{
LOG(1, s, t, "Short IPCP %d bytes\n", l);
STAT(tunnel_rx_errors);