From af0bc3e22445a3b0024d7d1986a4d8136e2526e6 Mon Sep 17 00:00:00 2001 From: Quentin McGaw Date: Thu, 26 Feb 2026 23:18:44 +0000 Subject: [PATCH] allow custom chain name targets --- internal/firewall/iptables/list.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/internal/firewall/iptables/list.go b/internal/firewall/iptables/list.go index c6f8168e..8c9a8b73 100644 --- a/internal/firewall/iptables/list.go +++ b/internal/firewall/iptables/list.go @@ -222,10 +222,6 @@ func parseChainRuleField(fieldIndex int, field string, rule *chainRule) (err err return fmt.Errorf("parsing bytes: %w", err) } case targetIndex: - err = checkTarget(field) - if err != nil { - return fmt.Errorf("checking target: %w", err) - } rule.target = field case protocolIndex: rule.protocol, err = parseProtocol(field)