Change #238878
Category | tcpdump |
Changed by | Francois-Xavier Le Bail <devel.fx.lebail | @orange.fr>
Changed at | Thu 10 Jul 2025 09:14:02 |
Repository | https://git.tcpdump.org/tcpdump |
Project | tcpdump |
Branch | master |
Revision | a9f3e09261d34d2e3c4684614b87f493cd7144cd |
Comments
Raw IPv4/IPv6: Add ipv4_if_print() and ipv6_if_print() printers With this change tcpdump prints errors when an IPv6 packet is in a LINKTYPE_IPV4 file and when an IPv4 packet is in a LINKTYPE_IPV6 file. Update the printer summary. And some test files printed with or without '-e'. Update the linktype of hoobr_rt6_print.pcap from "Raw IPv4" to "Raw IPv6" to keep test validity for packet #3. Update 2 test outputs.
Changed files
- netdissect.h
- print-raw.c
- print.c
- tests/LINKTYPE_IPV4_invalid-e.out
- tests/LINKTYPE_IPV4_invalid.out
- tests/LINKTYPE_IPV4_invalid.pcap
- tests/LINKTYPE_IPV6_invalid-e.out
- tests/LINKTYPE_IPV6_invalid.out
- tests/LINKTYPE_IPV6_invalid.pcap
- tests/TESTLIST
- tests/beep-oobr.out
- tests/hoobr_rt6_print.out
- tests/hoobr_rt6_print.pcap