From: Brendan O'Dea Date: Fri, 16 Sep 2005 05:20:32 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: 2.2.1-2fdn3.1~19^2^2~1^2~106 X-Git-Url: http://git.sameswireless.fr/l2tpns.git/commitdiff_plain/28dd7ee4432424d00361689156e8a366b8318a4a *** empty log message *** --- diff --git a/ppp.c b/ppp.c index fd5f460..4e19251 100644 --- a/ppp.c +++ b/ppp.c @@ -1,6 +1,6 @@ // L2TPNS PPP Stuff -char const *cvs_id_ppp = "$Id: ppp.c,v 1.82 2005-09-16 05:04:29 bodea Exp $"; +char const *cvs_id_ppp = "$Id: ppp.c,v 1.83 2005-09-16 05:20:32 bodea Exp $"; #include #include @@ -1335,7 +1335,7 @@ void processipin(sessionidt s, tunnelidt t, uint8_t *p, uint16_t l) LOG_HEX(5, "IP", p, l); - if (l < 20 || l < ntohl(*(uint32_t *)(p + 2))) + if (l < 20) { LOG(1, s, t, "IP packet too short %d\n", l); STAT(tunnel_rx_errors);