Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
netsniff-ng: fix snooping on any device when no option is given
Commit f43bbe9 ("mac80211: Check existence of generated monX device") broke starting netsniff-ng w/o any arguments, that is, sniffing on "any" device. The test in device_ifindex() should be index < 0. Fixes: f43bbe9 ("mac80211: Check existence of generated monX device") Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
- Loading branch information