]> The Tcpdump Group git mirrors - tcpdump/commit
Handle ICMP6 checksums more like TCP checksums.
authorGuy Harris <[email protected]>
Fri, 17 Jun 2011 08:17:47 +0000 (01:17 -0700)
committerGuy Harris <[email protected]>
Fri, 17 Jun 2011 08:17:47 +0000 (01:17 -0700)
commit879217e5027f08db85b96a24ea7089232d03ddd8
treeb0baf5ac25e440cda0eefaa0cba4e1e8256aed5e
parentd9b4befd18adc6b234275f598369d9a78974a550
Handle ICMP6 checksums more like TCP checksums.

Instead of printing the result of icmp6_cksum() if it's non-zero, print
the checksum field value and the value it should have had.  That means
that what we print is the same regardless of whether we're running on a
big-endian or little-endian machine.
print-icmp6.c