From f5c7d8bcc1cd89f8c04428acbb84ab69faa372e0 Mon Sep 17 00:00:00 2001 From: mycroft Date: Sun, 8 Sep 1996 15:49:43 +0000 Subject: [PATCH] Save 68 bytes of the packet for ICMP, not 64. From Laine Stump, PR 2296. --- sys/netinet/ip_input.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c index 3805431b4eb5..441a75a26fca 100644 --- a/sys/netinet/ip_input.c +++ b/sys/netinet/ip_input.c @@ -1,4 +1,4 @@ -/* $NetBSD: ip_input.c,v 1.33 1996/09/06 05:07:44 mrg Exp $ */ +/* $NetBSD: ip_input.c,v 1.34 1996/09/08 15:49:43 mycroft Exp $ */ /* * Copyright (c) 1982, 1986, 1988, 1993 @@ -1075,10 +1075,10 @@ ip_forward(m, srcrt) } /* - * Save at most 64 bytes of the packet in case + * Save at most 68 bytes of the packet in case * we need to generate an ICMP message to the src. */ - mcopy = m_copy(m, 0, imin((int)ip->ip_len, 64)); + mcopy = m_copy(m, 0, imin((int)ip->ip_len, 68)); /* * If forwarding packet using same interface that it came in on,