diff options
author | itojun <itojun@FreeBSD.org> | 1997-08-06 01:43:09 +0000 |
---|---|---|
committer | itojun <itojun@FreeBSD.org> | 1997-08-06 01:43:09 +0000 |
commit | 977f60f91e79bdc45d9a0086b6515d828ebfb16b (patch) | |
tree | 8f802658f22ba6de349024665132f3f68b06bc29 /sys/net/if_spppsubr.c | |
parent | a379f75853514c754597c105ff72d5aaf9d40bc8 (diff) | |
download | FreeBSD-src-977f60f91e79bdc45d9a0086b6515d828ebfb16b.zip FreeBSD-src-977f60f91e79bdc45d9a0086b6515d828ebfb16b.tar.gz |
PR: kern/4117
Reviewed by: ishii@csl.sony.co.jp, kjc@csl.sony.co.jp
checked with FreeBSD+Riscom - cisco4500 configuration.
Diffstat (limited to 'sys/net/if_spppsubr.c')
-rw-r--r-- | sys/net/if_spppsubr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_spppsubr.c b/sys/net/if_spppsubr.c index b5eea61..c1bfb65 100644 --- a/sys/net/if_spppsubr.c +++ b/sys/net/if_spppsubr.c @@ -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", |