1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-28 20:44:26 +01:00

Updated example.

This commit is contained in:
Matias Fontanini
2014-07-13 10:59:00 -03:00
parent 22e7c1d7c4
commit 46b52ad26e
5 changed files with 22 additions and 9 deletions

View File

@@ -47,7 +47,7 @@ private:
};
void BeaconSniffer::run(const std::string &iface) {
Sniffer sniffer(iface, 1500, true, "type mgt subtype beacon", true);
Sniffer sniffer(iface, Sniffer::PROMISC, "type mgt subtype beacon", true);
sniffer.sniff_loop(make_sniffer_handler(this, &BeaconSniffer::callback));
}