aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/ip_input.c
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2000-10-26 12:18:13 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2000-10-26 12:18:13 +0000
commit7e2df4520d491ba91b0cbd598f2be96a573dcbca (patch)
tree115a8ec5bfc2e494c409b728db4783de85fbafd9 /sys/netinet/ip_input.c
parent302bbfaac950316775fcde234ec1eeb3d7c09a48 (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 6eae6534d201..1374d255f857 100644
--- a/sys/netinet/ip_input.c
+++ b/sys/netinet/ip_input.c
@@ -686,10 +686,10 @@ found:
#endif
return;
}
- /* Get the length of the reassembled packets header */
- hlen = IP_VHL_HL(ip->ip_vhl) << 2;
ipstat.ips_reassembled++;
ip = mtod(m, struct ip *);
+ /* Get the header length of the reassembled packet */
+ hlen = IP_VHL_HL(ip->ip_vhl) << 2;
#ifdef IPDIVERT
/* Restore original checksum before diverting packet */
if (divert_info != 0) {