mirror of https://gitee.com/openkylin/linux.git
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:
parent
0c17db05ec
commit
dff58a09d7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue