Skip to content

Commit

Permalink
selftests: forwarding: fix flags passed to first drop rule in gact_dr…
Browse files Browse the repository at this point in the history
…op_and_ok_test

Fix copy&paste error and pass proper flags.

Signed-off-by: Jiri Pirko <[email protected]>
Reviewed-by: Ido Schimmel <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
jpirko authored and davem330 committed Mar 7, 2018
1 parent 0c17db0 commit dff58a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/testing/selftests/net/forwarding/tc_actions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dff58a0

Please sign in to comment.