Closed Wojtek242 closed 2 years ago
Closes #13
It turns out that since the original issue was create 7 years ago almost everything has been added to the Device struct. The only thing remaining were the flags documented at: https://www.tcpdump.org/manpages/pcap_findalldevs.3pcap.html.
Device
flags
This field was slightly problematic as it consisted of two separate items really:
In the end I opted to create a wrapper struct that separates these two. My previous iteration without this wrapper is in commit 606bdc3.
@Stargateur, would you mind doing a review?
Closes #13
It turns out that since the original issue was create 7 years ago almost everything has been added to the
Device
struct. The only thing remaining were theflags
documented at: https://www.tcpdump.org/manpages/pcap_findalldevs.3pcap.html.This field was slightly problematic as it consisted of two separate items really:
In the end I opted to create a wrapper struct that separates these two. My previous iteration without this wrapper is in commit 606bdc3.