increased reply wait time to 2 seconds for good measure :)

This commit is contained in:
jc
2024-09-21 15:04:44 +03:00
parent 1950059650
commit 6f243c9f97
+1 -1
View File
@@ -69,7 +69,7 @@ udp_scan(){
} }
fast_ping(){ fast_ping(){
nn=$(ping -n -w1 -c1 $ip >/dev/null 2>&1; echo $?) nn=$(ping -n -w2 -c1 $ip >/dev/null 2>&1; echo $?)
[[ $nn == 0 ]] && { echo $ip >> /tmp/ips; } [[ $nn == 0 ]] && { echo $ip >> /tmp/ips; }
} }