Closed dev8-de closed 2 years ago
If you want to capture packets from any device and need to know on which device the packet is captured, you need to set the datalink to DLT_LINUX_SLL2.
This is a patch for this.
Thank you for your patch!
@easy-easy : Pypi package is also now available: https://pypi.org/project/pcap-ct/1.3.0b1/
If you want to capture packets from any device and need to know on which device the packet is captured, you need to set the datalink to DLT_LINUX_SLL2.
This is a patch for this.