mirror of
https://github.com/mfontanini/libtins
synced 2026-01-23 02:35:57 +01:00
added pcap_open_live_extended() shim to sniffer.cpp and set rfmon to true in beacon capture example
This commit is contained in:
@@ -47,7 +47,7 @@ private:
|
||||
};
|
||||
|
||||
void BeaconSniffer::run(const std::string &iface) {
|
||||
Sniffer sniffer(iface, 1500, true, "type mgt subtype beacon");
|
||||
Sniffer sniffer(iface, 1500, true, "type mgt subtype beacon", true);
|
||||
sniffer.sniff_loop(make_sniffer_handler(this, &BeaconSniffer::callback));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user