Skip to content
Snippets Groups Projects
Unverified Commit 775d0337 authored by Michal Hrusecky's avatar Michal Hrusecky :mouse:
Browse files

netmetr: Hostname to ping has to be after options

Otherwise it doesn't work on OpenWRT.
parent 4ff8e780
Branches dev-miska
1 merge request!22netmetr: Hostname to ping has to be after options
......@@ -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,
sets.test_server_address
]).split('\n')
ping_values = list()
for i in range(1, int(sets.test_numpings)+1):
......
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