selftests: fib_rule_tests: Fix icmp proto with ipv6

A recent commit returns an error if icmp is used as the ip-proto for
IPv6 fib rules. Update fib_rule_tests to send ipv6-icmp instead of icmp.

Fixes: 5e1a99eae8 ("ipv4: Add ICMPv6 support when parse route ipproto")
Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
David Ahern 2019-04-29 10:30:09 -07:00 committed by David S. Miller
parent 486efdc8f6
commit 15d55bae4e
1 changed files with 2 additions and 2 deletions

View File

@ -147,8 +147,8 @@ fib_rule6_test()
fib_check_iproute_support "ipproto" "ipproto" fib_check_iproute_support "ipproto" "ipproto"
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
match="ipproto icmp" match="ipproto ipv6-icmp"
fib_rule6_test_match_n_redirect "$match" "$match" "ipproto icmp match" fib_rule6_test_match_n_redirect "$match" "$match" "ipproto ipv6-icmp match"
fi fi
} }