From 6a66f110963d96a92de4f4d2e757ef2893c3c3ee Mon Sep 17 00:00:00 2001 From: Francois-Xavier Le Bail Date: Sun, 8 Mar 2020 13:48:42 +0100 Subject: IPv4/IPv6 demux: Rename a printer Rename ip_print_demux() to ip_demux_print(), with _print suffix like in most similar cases. Moreover: Rename a test. --- tests/TESTLIST | 2 +- tests/heapoverflow-ip_demux_print.out | 6 ++++++ tests/heapoverflow-ip_demux_print.pcap | Bin 0 -> 152 bytes tests/heapoverflow-ip_print_demux.out | 6 ------ tests/heapoverflow-ip_print_demux.pcap | Bin 152 -> 0 bytes 5 files changed, 7 insertions(+), 7 deletions(-) create mode 100644 tests/heapoverflow-ip_demux_print.out create mode 100644 tests/heapoverflow-ip_demux_print.pcap delete mode 100644 tests/heapoverflow-ip_print_demux.out delete mode 100644 tests/heapoverflow-ip_print_demux.pcap (limited to 'tests') diff --git a/tests/TESTLIST b/tests/TESTLIST index c12259bd..150effb9 100644 --- a/tests/TESTLIST +++ b/tests/TESTLIST @@ -458,7 +458,7 @@ heapoverflow-EXTRACT_16BITS heapoverflow-EXTRACT_16BITS.pcap heapoverflow-EXTRAC heapoverflow-ppp_hdlc_if_print heapoverflow-ppp_hdlc_if_print.pcap heapoverflow-ppp_hdlc_if_print.out -v heapoverflow-q933_printq heapoverflow-q933_printq.pcap heapoverflow-q933_printq.out -v heapoverflow-sl_if_print heapoverflow-sl_if_print.pcap heapoverflow-sl_if_print.out -v -heapoverflow-ip_print_demux heapoverflow-ip_print_demux.pcap heapoverflow-ip_print_demux.out -v +heapoverflow-ip_demux_print heapoverflow-ip_demux_print.pcap heapoverflow-ip_demux_print.out -v heapoverflow-in_checksum heapoverflow-in_checksum.pcap heapoverflow-in_checksum.out -v heapoverflow-tcp_print heapoverflow-tcp_print.pcap heapoverflow-tcp_print.out -v gre-heapoverflow-1 gre-heapoverflow-1.pcap gre-heapoverflow-1.out -v diff --git a/tests/heapoverflow-ip_demux_print.out b/tests/heapoverflow-ip_demux_print.out new file mode 100644 index 00000000..8fc861b4 --- /dev/null +++ b/tests/heapoverflow-ip_demux_print.out @@ -0,0 +1,6 @@ + 1 05:27:12.808464432 30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 262144: + 0x0000: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000 + 0x0010: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000 + 0x0020: 3030 00 + 2 05:27:12.808464432 IP (tos 0x30, ttl 48, id 12336, offset 0, flags [none], proto AH (51), length 12336, bad cksum 3030 (->697b)!) + 48.48.48.48 > 48.48.48.48: AH(spi=0x30303030,sumlen=192,seq=0x30303030 [|ah] diff --git a/tests/heapoverflow-ip_demux_print.pcap b/tests/heapoverflow-ip_demux_print.pcap new file mode 100644 index 00000000..9090f7fc Binary files /dev/null and b/tests/heapoverflow-ip_demux_print.pcap differ diff --git a/tests/heapoverflow-ip_print_demux.out b/tests/heapoverflow-ip_print_demux.out deleted file mode 100644 index 8fc861b4..00000000 --- a/tests/heapoverflow-ip_print_demux.out +++ /dev/null @@ -1,6 +0,0 @@ - 1 05:27:12.808464432 30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 262144: - 0x0000: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000 - 0x0010: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000 - 0x0020: 3030 00 - 2 05:27:12.808464432 IP (tos 0x30, ttl 48, id 12336, offset 0, flags [none], proto AH (51), length 12336, bad cksum 3030 (->697b)!) - 48.48.48.48 > 48.48.48.48: AH(spi=0x30303030,sumlen=192,seq=0x30303030 [|ah] diff --git a/tests/heapoverflow-ip_print_demux.pcap b/tests/heapoverflow-ip_print_demux.pcap deleted file mode 100644 index 9090f7fc..00000000 Binary files a/tests/heapoverflow-ip_print_demux.pcap and /dev/null differ -- cgit v1.2.1