]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Change tests/hoobr_bfd_print.pcap to test the BFD printer again.
authorGuy Harris <[email protected]>
Wed, 21 Nov 2018 23:09:39 +0000 (15:09 -0800)
committerGuy Harris <[email protected]>
Wed, 21 Nov 2018 23:09:39 +0000 (15:09 -0800)
Clamp the on-the-wire length values of the packets at 262144, so that we
hand the packets to the BFD printer, rather than just bailing out before
we ever get there.

tests/hoobr_bfd_print.out
tests/hoobr_bfd_print.pcap

index 30daf14a84ef2ff7bf43c3b34f95f26b3f8306a6..c602709ae5809eba11ae610aa45ce3f934bef03b 100644 (file)
@@ -1,3 +1,7 @@
-    1  [Invalid header: len(808464432) > 262144]
-    2  [Invalid header: len(808464432) > 262144]
+    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            000000000000
+    2  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            000000000000
     3  05:27:12.808464432 IP truncated-ip - 14 bytes missing! 48.48.48.48.12336 > 48.48.48.48.3785: BFD, Echo, length: 12308
index 374cd8256e4f8fd057b76a39efe9c6360529c53c..0f6198638fa273882326b95a7ae974ec3d3cdef6 100644 (file)
Binary files a/tests/hoobr_bfd_print.pcap and b/tests/hoobr_bfd_print.pcap differ