mirror of
https://github.com/mfontanini/libtins
synced 2026-01-23 02:35:57 +01:00
Use Sleep windows function passing milliseconds as parameter
Fixes #271
This commit is contained in:
@@ -88,7 +88,7 @@ void do_arp_spoofing(NetworkInterface iface,
|
||||
sender.send(to_gw, iface);
|
||||
sender.send(to_victim, iface);
|
||||
#ifdef _WIN32
|
||||
Sleep(5);
|
||||
Sleep(5000);
|
||||
#else
|
||||
sleep(5);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user