Describe the bug
With tcprewrite version 4.4.4 I could not change the Linux cooked capture layer (SLL) to Ethernet layer, while it's working fine with version 4.3.1
To Reproduce
Steps to reproduce the behavior:
Take a pcap with Linux cooked capture (DLT_LINUX_SLL 113)
Run the command tcprewrite --dlt=enet --enet-dmac=12:ab:34:89:fb:10 --enet-smac=00:1e:79:9e:f8:00 -i old.pcap -o new.pcap
Open the new.pcap with wireshark and you don't see the layers detected correctly
Screenshots
Version 4.4.4
Version 4.3.1
System (please complete the following information):
Describe the bug With
tcprewrite
version 4.4.4 I could not change the Linux cooked capture layer (SLL) to Ethernet layer, while it's working fine with version 4.3.1To Reproduce Steps to reproduce the behavior:
tcprewrite --dlt=enet --enet-dmac=12:ab:34:89:fb:10 --enet-smac=00:1e:79:9e:f8:00 -i old.pcap -o new.pcap
new.pcap
with wireshark and you don't see the layers detected correctlyScreenshots Version 4.4.4![ScreenShot_20230918155304](https://github.com/appneta/tcpreplay/assets/7222956/47b2d15c-183a-46d3-89ca-8c6d80ce1b78)
Version 4.3.1![ScreenShot_20230918155554](https://github.com/appneta/tcpreplay/assets/7222956/c3726d05-e1b7-4369-87dc-7c64cc395760)
System (please complete the following information):