PR: kern/4117
Reviewed by: ishii@csl.sony.co.jp, kjc@csl.sony.co.jp checked with FreeBSD+Riscom - cisco4500 configuration.
This commit is contained in:
parent
d607bc7f6a
commit
16050303bd
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=27929
@ -17,7 +17,7 @@
|
||||
*
|
||||
* From: Version 1.9, Wed Oct 4 18:58:15 MSK 1995
|
||||
*
|
||||
* $Id: if_spppsubr.c,v 1.21 1997/05/22 22:15:39 joerg Exp $
|
||||
* $Id: if_spppsubr.c,v 1.22 1997/05/23 20:40:15 joerg Exp $
|
||||
*/
|
||||
|
||||
#include <sys/param.h>
|
||||
@ -835,7 +835,7 @@ sppp_cisco_input(struct sppp *sp, struct mbuf *m)
|
||||
struct cisco_packet *h;
|
||||
struct ifaddr *ifa;
|
||||
|
||||
if (m->m_pkthdr.len != CISCO_PACKET_LEN) {
|
||||
if (m->m_pkthdr.len < CISCO_PACKET_LEN) {
|
||||
if (debug)
|
||||
log(LOG_DEBUG,
|
||||
"%s%d: invalid cisco packet length: %d bytes\n",
|
||||
|
Loading…
Reference in New Issue
Block a user