]> The Tcpdump Group git mirrors - libpcap/commit
Check for FreeBSD, not Linux, when checking for IFF_PPROMISC and ifr_flagshigh.
authorGuy Harris <[email protected]>
Mon, 11 Dec 2017 20:56:12 +0000 (12:56 -0800)
committerGuy Harris <[email protected]>
Mon, 11 Dec 2017 20:56:12 +0000 (12:56 -0800)
commitb086a6586a86ede9e58e8edba23ba70720274fca
tree1db4d39b6fc466f1763e012ddd354935f92bd283
parentb98a97f74e9bf0a35c2e955f56c1a63812828860
Check for FreeBSD, not Linux, when checking for IFF_PPROMISC and ifr_flagshigh.

Note that we should be checking for FreeBSD *and* DragonFly BSD (perhaps
we should be checkign for IFF_PPROMISC and ifr_flagshigh).

Add comments explaining what we're doing.
pcap-netmap.c