Skip to content

Commit

Permalink
fix: security group base acl direction
Browse files Browse the repository at this point in the history
Signed-off-by: zcq98 <[email protected]>
  • Loading branch information
zhaocongqi committed Feb 2, 2024
1 parent 3716edd commit 1166581
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/ovs/ovn-nb-acl.go
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ func (c *OVNNbClient) CreateSgBaseACL(sgName, direction string) error {
acls := make([]*ovnnb.ACL, 0)

newACL := func(match string) {
acl, err := c.newACL(pgName, ovnnb.ACLDirectionToLport, util.SecurityGroupBasePriority, match, ovnnb.ACLActionAllowRelated)
acl, err := c.newACL(pgName, direction, util.SecurityGroupBasePriority, match, ovnnb.ACLActionAllowRelated)
if err != nil {
klog.Error(err)
klog.Errorf("new base ingress acl for security group %s: %v", sgName, err)
Expand Down

0 comments on commit 1166581

Please sign in to comment.