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>
This commit is contained in:
Jiri Pirko 2018-03-07 13:58:00 +01:00 committed by David S. Miller
parent 0c17db05ec
commit dff58a09d7

View File

@ -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