mirror of
https://github.com/R0GGER/public-iperf3-servers.git
synced 2026-11-11 17:09:29 +01:00
Update findtest.sh
This commit is contained in:
1 parent
961c61d01e
commit
63fd7da7b6
1 file changed
+1
-1
+1
-1
@@ -81,7 +81,7 @@ for ip in $SERVER_IPS; do
|
||||
# Calculate the distance between the client and the server
|
||||
distance=$(haversine $CLIENT_LAT $CLIENT_LON $SERVER_LAT $SERVER_LON)
|
||||
|
||||
echo "Server $ip is $distance km away"
|
||||
#echo "Server $ip is $distance km away"
|
||||
|
||||
# Compare distances to find the closest server
|
||||
if [[ -z "$closest_distance" || $(echo "$distance < $closest_distance" | bc -l 2>/dev/null) -eq 1 ]]; then
|
||||
|
||||
Reference in new issue
Block a user