mirror of
https://github.com/gravitl/netmaker.git
synced 2025-09-12 16:14:37 +08:00
commit
3d6c057941
1 changed files with 1 additions and 1 deletions
|
@ -1411,7 +1411,7 @@ func checkIfAnyPolicyisUniDirectional(targetNode models.Node) bool {
|
||||||
if !acl.Enabled {
|
if !acl.Enabled {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
if acl.AllowedDirection == models.TrafficDirectionBi {
|
if acl.AllowedDirection == models.TrafficDirectionBi && acl.Proto == models.ALL && acl.ServiceType == models.Any {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
if acl.Proto != models.ALL || acl.ServiceType != models.Any {
|
if acl.Proto != models.ALL || acl.ServiceType != models.Any {
|
||||||
|
|
Loading…
Add table
Reference in a new issue