Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert to LIBNET_LINK where LIBNET_NONE is not available
Old versions of libnet do not support LIBNET_NONE; on those, use LIBNET_LINK, which has the unfortunate side-effect of needlessly opening a raw socket, which requires root privileges. Also, the type of link layer encapsulation generated by this libnet instance will depend on the active network interface chosen by libnet for the raw socket, which may result in uncommon link encapsulations being used for the PCAP files written. Issue: droe#232
- Loading branch information