]> The Tcpdump Group git mirrors - tcpdump/commit
IP: Print the protocol name before any test
authorFrancois-Xavier Le Bail <[email protected]>
Sun, 3 Sep 2023 19:48:46 +0000 (21:48 +0200)
committerFrancois-Xavier Le Bail <[email protected]>
Wed, 25 Oct 2023 12:37:35 +0000 (14:37 +0200)
commit269ee0e6f269679036e38b37d974dc0a1db59713
treeb4804fdbd9f16852591abde2d8683a42a85ab7fd
parent2e1302f259737b0e56a0f6a20bbf737b5994c280
IP: Print the protocol name before any test

Use nd_print_protocol_caps().

Use ND_ICHECKMSG_U() to print an invalid version, as for IPv6.

Update some test outputs accordingly.

(cherry picked from commit 8fc1c61427a2715a10342dd28cf75175c53691c8)
print-ip.c
tests/bad-ipv4-version-pgm-heapoverflow.out
tests/gre-heapoverflow-1.out
tests/kday1.out
tests/kday3.out