Describe the bug
I captured a pcap from a PFSENSE (BSD) router, when I try and rewrite the header, I get the error message below.
tcprewrite --dlt=enet --enet-dmac=00:12:13:14:15:16,00:22:33:44:55:66 --enet-smac=00:12:13:14:15:16,00:22:33:44:55:66 -i ipv6.pcap -o ipv6_enet.pcap
Fatal Error in tcpedit.c:tcpedit_packet() line 129:
From ./plugins/dlt_null/null.c:dlt_null_proto() line 228:
Unsupported DLT_NULL/DLT_LOOP PF_ type: 0x001c
To Reproduce
Steps to reproduce the behavior:
Use: ipv6_head.zip
tcprewrite --dlt=enet --enet-dmac=00:12:13:14:15:16,00:22:33:44:55:66 --enet-smac=00:12:13:14:15:16,00:22:33:44:55:66 -i ipv6.pcap -o ipv6_enet.pcap
Expected behavior
I think we should recognize this as IPV6