diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-12-31 12:27:12 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-12-31 12:27:12 +0000 |
commit | 3f32ea79edc2b89f1c45afdd0d81d097283502cb (patch) | |
tree | 58931ef8c059018320627614b1290e947b42b634 /sys/netinet | |
parent | a8cb0d2f1387653618a41895241569b09ac43bbc (diff) |
XXX marker for where nested ip ip_sum should be re-build (but it is not in an mbuf, grr
Diffstat (limited to 'sys/netinet')
-rw-r--r-- | sys/netinet/ip_icmp.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/netinet/ip_icmp.c b/sys/netinet/ip_icmp.c index 41cb32c7134..dc99996aadf 100644 --- a/sys/netinet/ip_icmp.c +++ b/sys/netinet/ip_icmp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_icmp.c,v 1.11 1998/12/31 11:50:13 deraadt Exp $ */ +/* $OpenBSD: ip_icmp.c,v 1.12 1998/12/31 12:27:11 deraadt Exp $ */ /* $NetBSD: ip_icmp.c,v 1.19 1996/02/13 23:42:22 christos Exp $ */ /* @@ -149,7 +149,8 @@ icmp_error(n, type, code, dest, destifp) bcopy((caddr_t)oip, (caddr_t)&icp->icmp_ip, icmplen); nip = &icp->icmp_ip; nip->ip_len = htons((u_int16_t)(nip->ip_len + oiplen)); - + /* XXX should correct nip->ip_sum */ + /* * Now, copy old ip header (without options) * in front of icmp message. |