Closed Mengpolar closed 3 years ago
@lmj731 : would it be possible to share the pcap?
try this:
for idx,(ts, buf) in enumerate(pcap):
Also it might be helpful to look at our example that handles truncated packets: https://github.com/kbandla/dpkt/blob/master/examples/print_dns_truncated.py
No follow up from the OP - closing. @lmj731 feel free to reopen if needed.
dpkt-1.9.4 python3.7.9 win10 parse error the pcap data: