From b815af3ff12c468c43d2ac0c82851fe88854bf8c Mon Sep 17 00:00:00 2001 From: Byron Lathi Date: Fri, 13 Sep 2024 07:41:17 -0700 Subject: [PATCH] Make a pcapng file, not pcap --- .gitignore | 3 ++- .../src/sub/network_processor/sim/cocotb/tests/tcp_test.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index aa4d8c9..cb22a96 100644 --- a/.gitignore +++ b/.gitignore @@ -34,4 +34,5 @@ __pycache__ *.vcd *.fst.* results.xml -html \ No newline at end of file +html +*.pcapng \ No newline at end of file diff --git a/hw/super6502_fpga/src/sub/network_processor/sim/cocotb/tests/tcp_test.py b/hw/super6502_fpga/src/sub/network_processor/sim/cocotb/tests/tcp_test.py index 7eaeaf5..676d4aa 100644 --- a/hw/super6502_fpga/src/sub/network_processor/sim/cocotb/tests/tcp_test.py +++ b/hw/super6502_fpga/src/sub/network_processor/sim/cocotb/tests/tcp_test.py @@ -57,7 +57,7 @@ def ip_to_hex(ip: str) -> int: @cocotb.test() async def test_simple(dut): - pktdump = PcapWriter("tcp.pcap", append=True, sync=True) + pktdump = PcapWriter("tcp.pcapng", append=True, sync=True) tb = TB(dut)