aboutsummaryrefslogtreecommitdiff
path: root/pcap-netfilter-linux.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2011-12-05 14:17:25 -0800
committerGuy Harris <guy@alum.mit.edu>2011-12-05 14:17:25 -0800
commit2f272069ea2edd1b3bb897c9777174f8808189ba (patch)
tree9d7c1a25cd974f99c4ef632a85a9f98fccc60f2c /pcap-netfilter-linux.h
parent6151aa3012c169956571c496b701a97e9d3c3055 (diff)
Fix monitor mode handling with non-mac80211 drivers.
If we don't have any private Wireless Extension ioctls to control radio headers, we should still try to turn monitor mode off and on. With the Wireless Extensions, you might not be able to turn monitor mode on or off if the interface is up, so take it down first and bring it back up afterwards. Also add the interface name to the warning messages printed when trying to restore modes when the program exits.
Diffstat (limited to 'pcap-netfilter-linux.h')
0 files changed, 0 insertions, 0 deletions