aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/ip_input.c
diff options
context:
space:
mode:
authorDavid Greenman <dg@FreeBSD.org>1996-12-11 03:26:36 +0000
committerDavid Greenman <dg@FreeBSD.org>1996-12-11 03:26:36 +0000
commitc7a6ccb33e79876faac55d1a4b594ccb2cf78ab9 (patch)
tree26f1edf0be0bf26cc314201f377dd6d5c149636c /sys/netinet/ip_input.c
parent706553b71879f3bfdbe06a3a662c477f1b26fdfd (diff)
Notes
Diffstat (limited to 'sys/netinet/ip_input.c')
-rw-r--r--sys/netinet/ip_input.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c
index 9c57dff56409..20256b87ef1d 100644
--- a/sys/netinet/ip_input.c
+++ b/sys/netinet/ip_input.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)ip_input.c 8.2 (Berkeley) 1/4/94
- * $Id: ip_input.c,v 1.50 1996/10/25 17:57:45 fenner Exp $
+ * $Id: ip_input.c,v 1.51 1996/11/11 04:56:15 fenner Exp $
* $ANA: ip_input.c,v 1.5 1996/09/18 14:34:59 wollman Exp $
*/
@@ -439,7 +439,7 @@ ours:
* if the packet was previously fragmented,
* but it's not worth the time; just let them time out.)
*/
- if (ip->ip_off &~ IP_DF) {
+ if (ip->ip_off & (IP_MF | IP_OFFMASK)) {
if (m->m_flags & M_EXT) { /* XXX */
if ((m = m_pullup(m, sizeof (struct ip))) == 0) {
ipstat.ips_toosmall++;