diff options
author | 1998-12-31 12:27:11 +0000 | |
---|---|---|
committer | 1998-12-31 12:27:11 +0000 | |
commit | 6ce77de83a4ac694b97b84e49a76f67ff30094ed (patch) | |
tree | b1c47780564fa3cfd73df770fbe0051d41bda8d2 | |
parent | Don't panic if the pcic irq is defined in the config-file. (diff) | |
download | wireguard-openbsd-6ce77de83a4ac694b97b84e49a76f67ff30094ed.tar.xz wireguard-openbsd-6ce77de83a4ac694b97b84e49a76f67ff30094ed.zip |
XXX marker for where nested ip ip_sum should be re-build (but it is not in an mbuf, grr
-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. |