mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Fix iperf UDP test
This commit is contained in:
parent
9f2cb04579
commit
13b72b1967
1 changed files with 2 additions and 2 deletions
|
@ -33,9 +33,9 @@ function run_test(server,proto,mode,updown,omit,parallel,transmit,bitrate)
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
if updown == "upload" then
|
if updown == "upload" then
|
||||||
iperf = io.popen("iperf3 -c %s -P %s -%s -p %s -O %s -t %s -u -b %s -J" % {ut.shellquote(addr),parallel,ipv,port,omit,transmit,bitrate})
|
iperf = io.popen("iperf3 -c %s -P %s -%s -p %s -O %s -t %s -u -b %sm -J" % {ut.shellquote(addr),parallel,ipv,port,omit,transmit,bitrate})
|
||||||
else
|
else
|
||||||
iperf = io.popen("iperf3 -c %s -P %s -%s -p %s -O %s -R -t %s -u -b %s -J" % {ut.shellquote(addr),parallel,ipv,port,omit,transmit,bitrate})
|
iperf = io.popen("iperf3 -c %s -P %s -%s -p %s -O %s -R -t %s -u -b %sm -J" % {ut.shellquote(addr),parallel,ipv,port,omit,transmit,bitrate})
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
if iperf then
|
if iperf then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue