Commit b91ec6ae authored by David Ahern's avatar David Ahern Committed by Greg Kroah-Hartman

selftests: fib_rule_tests: Fix icmp proto with ipv6

[ Upstream commit 15d55bae ]

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: 5e1a99ea ("ipv4: Add ICMPv6 support when parse route ipproto")
Signed-off-by: default avatarDavid Ahern <dsahern@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent e2851c3e
...@@ -148,8 +148,8 @@ fib_rule6_test() ...@@ -148,8 +148,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
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment