summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/net/forwarding/tc_actions.sh
diff options
context:
space:
mode:
authorJiri Pirko <jiri@mellanox.com>2018-03-07 13:58:00 +0100
committerDavid S. Miller <davem@davemloft.net>2018-03-07 15:41:20 -0500
commitdff58a09d77e152056a4803ff89b6ec3fc6c9b2c (patch)
treea56b8eac51dcbae46da2fe0c9be8c0aad76ecb1f /tools/testing/selftests/net/forwarding/tc_actions.sh
parent0c17db05ec982607121b8f01cf4ce03513964d9c (diff)
selftests: forwarding: fix flags passed to first drop rule in gact_drop_and_ok_test
Fix copy&paste error and pass proper flags. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Reviewed-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/net/forwarding/tc_actions.sh')
-rwxr-xr-xtools/testing/selftests/net/forwarding/tc_actions.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/net/forwarding/tc_actions.sh b/tools/testing/selftests/net/forwarding/tc_actions.sh
index ac6b6a1057d8..3a6385ebd5d0 100755
--- a/tools/testing/selftests/net/forwarding/tc_actions.sh
+++ b/tools/testing/selftests/net/forwarding/tc_actions.sh
@@ -81,7 +81,7 @@ gact_drop_and_ok_test()
RET=0
tc filter add dev $swp1 ingress protocol ip pref 2 handle 102 flower \
- skip_hw dst_ip 192.0.2.2 action drop
+ $tcflags dst_ip 192.0.2.2 action drop
$MZ $h1 -c 1 -p 64 -a $h1mac -b $h2mac -A 192.0.2.1 -B 192.0.2.2 \
-t ip -q