1
0
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:
Kyle McDonald
2014-05-03 12:48:35 -04:00
parent 4ee89662f2
commit 5fe4ab0de8
3 changed files with 60 additions and 12 deletions

View File

@@ -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));
}