Skip to content
Snippets Groups Projects
Commit 20ba01ed authored by Michael Marsh's avatar Michael Marsh
Browse files

fixes

parent 29a813e3
No related branches found
No related tags found
No related merge requests found
......@@ -18,7 +18,7 @@ parser.add_argument('-B', '--bandwidth',
help='bandwidth to set'
)
parser.add_argument('-D', '--delay',
dest='delay',
dest='delay (in milliseconds)',
help='link latency'
)
parser.add_argument('-L', '--loss',
......@@ -53,6 +53,7 @@ if args.bandwidth is not None:
cmd.append(str(args.bandwidth))
if args.loss is not None:
cmd.append("loss")
cmd.append("random")
cmd.append(str(args.loss))
subprocess.check_output(cmd,stderr=subprocess.STDOUT)
......
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