Skip to content

Commit

Permalink
fix(util): syntax in iptables.go
Browse files Browse the repository at this point in the history
Fix strange mistake with ';' instead of 'string'.
  • Loading branch information
qbnit authored and mrueg committed Aug 9, 2024
1 parent 4c16346 commit 65a8030
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/utils/iptables.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 65a8030

Please sign in to comment.