Unverified Commit 775d0337 authored by Michal Hrusecky's avatar Michal Hrusecky 🐭
Browse files

netmetr: Hostname to ping has to be after options

Otherwise it doesn't work on OpenWRT.
parent 4ff8e780
......@@ -147,8 +147,8 @@ def measure_pings(sets):
print('\033[93m'+"Starting ping test..."+'\033[0m')
ping_result_lines = subprocess.check_output([
"ping", sets.test_server_address,
"-c", sets.test_numpings
"ping", "-c", sets.test_numpings,
ping_values = list()
for i in range(1, int(sets.test_numpings)+1):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment