From 16050303bd356b9c0b1d872bf0622b81cbc06322 Mon Sep 17 00:00:00 2001 From: Jun-ichiro itojun Hagino Date: Wed, 6 Aug 1997 01:43:09 +0000 Subject: [PATCH] PR: kern/4117 Reviewed by: ishii@csl.sony.co.jp, kjc@csl.sony.co.jp checked with FreeBSD+Riscom - cisco4500 configuration. --- sys/net/if_spppsubr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/net/if_spppsubr.c b/sys/net/if_spppsubr.c index b5eea6134123..c1bfb6520f59 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 @@ -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",