Skip to content
Snippets Groups Projects
Commit 1e78245e authored by Guillaume Valadon's avatar Guillaume Valadon
Browse files

Use floats with some tcpreplay paremters

--HG--
branch : Issue #5108
parent 485d2301
No related branches found
No related tags found
No related merge requests found
......@@ -273,9 +273,9 @@ def sendpfast(x, pps=None, mbps=None, realtime=None, loop=0, file_cache=False, i
if pps is not None:
argv.append("--pps=%i" % pps)
elif mbps is not None:
argv.append("--mbps=%i" % mbps)
argv.append("--mbps=%f" % mbps)
elif realtime is not None:
argv.append("--multiplier=%i" % realtime)
argv.append("--multiplier=%f" % realtime)
else:
argv.append("--topspeed")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment