diff options
author | 2013-06-17 02:31:37 +0000 | |
---|---|---|
committer | 2013-06-17 02:31:37 +0000 | |
commit | c2b46a14fe91831a2d55c0074fd77be82a9e8778 (patch) | |
tree | f5c20902940763bd2f11a2dd4a4bb14a154cd2a5 /share/man/man7 | |
parent | unbreak build; OK bmercer@, patrick@ (diff) | |
download | wireguard-openbsd-c2b46a14fe91831a2d55c0074fd77be82a9e8778.tar.xz wireguard-openbsd-c2b46a14fe91831a2d55c0074fd77be82a9e8778.zip |
In icmp_do_exthdr(), calculate the ICMP extension header checksums with
in4_cksum() instead of in_cksum(). This gets rid of the clunky
m_data/m_len dance, which was described as "disgusting" in the original
comments. :)
Tested on a small MPLS test network (since icmp_do_exthdr() is currently
only used by MPLS code, specifically mpls_do_error()).
ok bluhm henning mikeb
Diffstat (limited to 'share/man/man7')
0 files changed, 0 insertions, 0 deletions