diff --git a/pkg/utils/iptables.go b/pkg/utils/iptables.go index 7d632d7e56..f1a5bc26b6 100644 --- a/pkg/utils/iptables.go +++ b/pkg/utils/iptables.go @@ -201,7 +201,7 @@ func CommonICMPRules(family v1core.IPFamily) []ICMPRule { // Allow various types of ICMP that are important for routing // This first block applies to both IPv4 and IPv6 type rules - var icmpProto, icmpType; + var icmpProto, icmpType string if family == v1core.IPv6Protocol { icmpProto = ICMPv6Proto icmpType = ICMPv6Type