selftests: forwarding: fix flags passed to first drop rule in gact_drop_and_ok_test
authorJiri Pirko <jiri@mellanox.com>
Wed, 7 Mar 2018 12:58:00 +0000 (13:58 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Mar 2018 20:41:20 +0000 (15:41 -0500)
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>
tools/testing/selftests/net/forwarding/tc_actions.sh

index ac6b6a1..3a6385e 100755 (executable)
@@ -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