Commit 518828fc authored by Brenda J. Butler's avatar Brenda J. Butler Committed by David S. Miller

tc-testing: fix arg to ip command: -s -> -n

Fixes: 31c2611b ("selftests: Introduce a new test case to tc testsuite")
Fixes: 76b903ee ("selftests: Introduce tc testsuite")
Signed-off-by: default avatarBrenda J. Butler <bjb@mojatatu.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 822e86d9
...@@ -152,11 +152,11 @@ def ns_create(): ...@@ -152,11 +152,11 @@ def ns_create():
exec_cmd(cmd, False) exec_cmd(cmd, False)
cmd = 'ip link set $DEV0 up' cmd = 'ip link set $DEV0 up'
exec_cmd(cmd, False) exec_cmd(cmd, False)
cmd = 'ip -s $NS link set $DEV1 up' cmd = 'ip -n $NS link set $DEV1 up'
exec_cmd(cmd, False) exec_cmd(cmd, False)
cmd = 'ip link set $DEV2 netns $NS' cmd = 'ip link set $DEV2 netns $NS'
exec_cmd(cmd, False) exec_cmd(cmd, False)
cmd = 'ip -s $NS link set $DEV2 up' cmd = 'ip -n $NS link set $DEV2 up'
exec_cmd(cmd, False) exec_cmd(cmd, False)
......
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