mirror of
https://github.com/mfontanini/libtins
synced 2026-01-23 02:35:57 +01:00
Correct "promiscuous" spelling in comments (#254)
This commit is contained in:
committed by
Matias Fontanini
parent
b43d2f74e4
commit
6429dcd03f
@@ -56,7 +56,7 @@ int main(int argc, char* argv[]) {
|
|||||||
cout << "Usage: " <<* argv << " <interface>" << endl;
|
cout << "Usage: " <<* argv << " <interface>" << endl;
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
// Sniff on the provided interface in promiscuos mode
|
// Sniff on the provided interface in promiscuous mode
|
||||||
SnifferConfiguration config;
|
SnifferConfiguration config;
|
||||||
config.set_promisc_mode(true);
|
config.set_promisc_mode(true);
|
||||||
// Only capture udp packets sent to port 53
|
// Only capture udp packets sent to port 53
|
||||||
|
|||||||
@@ -90,7 +90,7 @@ int main(int argc, char* argv[]) {
|
|||||||
cout << "Usage: " <<* argv << " <interface>" << endl;
|
cout << "Usage: " <<* argv << " <interface>" << endl;
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
// Sniff on the provided interface in promiscuos mode
|
// Sniff on the provided interface in promiscuous mode
|
||||||
SnifferConfiguration config;
|
SnifferConfiguration config;
|
||||||
config.set_promisc_mode(true);
|
config.set_promisc_mode(true);
|
||||||
// Use immediate mode so we get the packets as fast as we can
|
// Use immediate mode so we get the packets as fast as we can
|
||||||
|
|||||||
Reference in New Issue
Block a user