Skip to content

Commit

Permalink
Merge branch 'output' into parse_cubes
Browse files Browse the repository at this point in the history
  • Loading branch information
YairSlobodin1 committed Dec 19, 2024
2 parents 906dc33 + d8d837c commit 5eb4ab6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/ir/acl.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func (r *ACLRule) Target() *netset.IPBlock {

func (a *ACL) Rules() []*ACLRule {
if a.Internal == nil { // optimization mode
return append(a.Inbound, a.Outbound...)
return slices.Concat(a.Inbound, a.Outbound)
}
rules := a.Internal
if len(a.External) != 0 {
Expand Down

0 comments on commit 5eb4ab6

Please sign in to comment.