Skip to content

Commit

Permalink
Clarify wording in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
lixmal committed Jan 15, 2025
1 parent 559f936 commit c551b2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/internal/acl/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ func (d *DefaultManager) protoRuleToFirewallRule(
rules, err = d.addInRules(ip, protocol, port, action, ipsetName, "")
case mgmProto.RuleDirection_OUT:
// TODO: Remove this soon. Outbound rules are obsolete.
// We only maintain this for return traffic (in dir) which is now handled by the stateful firewall already
// We only maintain this for return traffic (inbound dir) which is now handled by the stateful firewall already
rules, err = d.addOutRules(ip, protocol, port, action, ipsetName, "")
default:
return "", nil, fmt.Errorf("invalid direction, skipping firewall rule")
Expand Down

0 comments on commit c551b2a

Please sign in to comment.