allow custom chain name targets

This commit is contained in:
Quentin McGaw
2026-02-26 23:18:44 +00:00
parent 302f1f11f7
commit af0bc3e224
-4
View File
@@ -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)