From 3d11eb1465fb275027ac5463f340907bdc11a0ad Mon Sep 17 00:00:00 2001 From: glebius Date: Thu, 25 Oct 2012 09:02:21 +0000 Subject: After r241923 the updated ip_len no longer needed. --- sys/netinet/ip_input.c | 1 - 1 file changed, 1 deletion(-) (limited to 'sys/netinet/ip_input.c') diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c index 2f9c8ee..baa08a4 100644 --- a/sys/netinet/ip_input.c +++ b/sys/netinet/ip_input.c @@ -728,7 +728,6 @@ ours: ip = mtod(m, struct ip *); /* Get the header length of the reassembled packet */ hlen = ip->ip_hl << 2; - ip_len = ntohs(ip->ip_len); } #ifdef IPSEC -- cgit v1.1