diff --git a/pkg/utils/iptables_test.go b/pkg/utils/iptables_test.go index 96e5540388..90ac6ba3da 100644 --- a/pkg/utils/iptables_test.go +++ b/pkg/utils/iptables_test.go @@ -27,9 +27,9 @@ func TestCommonICMPRules(t *testing.T) { name: "IPv6", family: v1core.IPv6Protocol, expected: []ICMPRule{ - {"icmp", "--icmp-type", "echo-request", "allow icmp echo requests"}, - {"icmp", "--icmp-type", "destination-unreachable", "allow icmp destination unreachable messages"}, - {"icmp", "--icmp-type", "time-exceeded", "allow icmp time exceeded messages"}, + {"ipv6-icmp", "--icmpv6-type", "echo-request", "allow icmp echo requests"}, + {"ipv6-icmp", "--icmpv6-type", "destination-unreachable", "allow icmp destination unreachable messages"}, + {"ipv6-icmp", "--icmpv6-type", "time-exceeded", "allow icmp time exceeded messages"}, {"ipv6-icmp", "--icmpv6-type", "neighbor-solicitation", "allow icmp neighbor solicitation messages"}, {"ipv6-icmp", "--icmpv6-type", "neighbor-advertisement", "allow icmp neighbor advertisement messages"}, {"ipv6-icmp", "--icmpv6-type", "echo-reply", "allow icmp echo reply messages"},