]> The Tcpdump Group git mirrors - tcpdump/commit
ICMPv6: Fix the Node Information flags
authorNicholas Reilly <[email protected]>
Wed, 31 Aug 2022 21:01:08 +0000 (17:01 -0400)
committerfxlb <[email protected]>
Tue, 13 Sep 2022 06:32:18 +0000 (06:32 +0000)
commit425359f7b8e74a0f466ce05a2c24bddaee5c15a1
treeea3912cbb12299f982b30744deb23af210f447d8
parent6d7700936ce49856dc0dbe6405a4306b70fea9ec
ICMPv6: Fix the Node Information flags

Don't use htons() when defining the constants because the flags
field is already eventually swapped by fetching with GET_BE_U_2().
Remove unused flags NI_SUPTYPE_FLAG_COMPRESS and NI_FQDN_FLAG_VALIDTTL.
Add a test file with various NI_NODEADDR_FLAG* flags.
print-icmp6.c
tests/TESTLIST
tests/icmpv6-ni-flags.out [new file with mode: 0644]
tests/icmpv6-ni-flags.pcap [new file with mode: 0644]