Skip to content

Commit 17aa427

Browse files
committed
Change tests/hoobr_bfd_print.pcap to test the BFD printer again.
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.
1 parent 01017da commit 17aa427

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

tests/hoobr_bfd_print.out

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1-
1 [Invalid header: len(808464432) > 262144]
2-
2 [Invalid header: len(808464432) > 262144]
1+
1 05:27:12.808464432 30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 262144:
2+
0x0000: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000
3+
0x0010: 3030 3030 3030 3030 3030 3030 000000000000
4+
2 05:27:12.808464432 30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 262144:
5+
0x0000: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000
6+
0x0010: 3030 3030 3030 3030 3030 3030 000000000000
37
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

tests/hoobr_bfd_print.pcap

-330 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)