diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 1998-04-13 17:27:08 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1998-04-13 17:27:08 +0000 |
| commit | 81aee63d1968cdb5d04b7c69fcd8d43dee0dc2e5 (patch) | |
| tree | c63a5e658877ca6e2ec5c137a7606450eb530602 /sys/netinet/ip_input.c | |
| parent | ab9ddd8e8a6ee2dd413249281dde31c5111eda41 (diff) | |
Notes
Diffstat (limited to 'sys/netinet/ip_input.c')
| -rw-r--r-- | sys/netinet/ip_input.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c index 2bd19fcef725..4e07424e9759 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.80 1998/03/21 11:34:11 peter Exp $ + * $Id: ip_input.c,v 1.81 1998/03/30 09:52:56 phk Exp $ * $ANA: ip_input.c,v 1.5 1996/09/18 14:34:59 wollman Exp $ */ @@ -553,6 +553,8 @@ found: ip = ip_reass((struct ipasfrag *)ip, fp, &ipq[sum]); if (ip == 0) return; + /* Get the length of the reassembled packets header */ + hlen = IP_VHL_HL(ip->ip_vhl) << 2; ipstat.ips_reassembled++; m = dtom(ip); #ifdef IPDIVERT |
