From ef370d39d8e8c9d1a3305e0ce75aebe1d20be224 Mon Sep 17 00:00:00 2001 From: qbnit Date: Tue, 6 Aug 2024 22:48:30 +0200 Subject: [PATCH] fix(util): syntax in iptables.go Fix strange mistake with ';' instead of 'string'. --- pkg/utils/iptables.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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