]> The Tcpdump Group git mirrors - tcpdump/commit
Further IPv4-mapped IPv6 address cleanups.
authorGuy Harris <[email protected]>
Sun, 30 Oct 2016 18:15:40 +0000 (11:15 -0700)
committerGuy Harris <[email protected]>
Sun, 30 Oct 2016 18:15:40 +0000 (11:15 -0700)
commit06c4ca1ac27515fb28d3f4aab1ef151c25946a14
tree87a22f83f9f0948b927f50c1e8f4d4e4470f38a2
parentfe01d2496c1cc3b4a327d7d9b2faba9c79479a13
Further IPv4-mapped IPv6 address cleanups.

Have a routine to check for those addresses, and use it in all cases.

Have a #define for the length of the fixed part of those addresses at
the beginning, and use it.

Fix a length check; Coverity noted that the check never failed, because
we were comparing the length of the prefix field in the packet with the
length of the IPv4 prefix, not the length of the IPv4 prefix plus the
fixed part at the beginning.
print-hncp.c