mirror of
https://github.com/gravitl/netmaker.git
synced 2025-11-09 16:21:01 +08:00
default value set on acls
This commit is contained in:
parent
a964d2bf7d
commit
a7ccf13cc8
1 changed files with 0 additions and 1 deletions
|
|
@ -13,7 +13,6 @@ var NodesAllowedACLMutex = &sync.Mutex{}
|
||||||
|
|
||||||
// AreNodesAllowed - checks if nodes are allowed to communicate in their network ACL
|
// AreNodesAllowed - checks if nodes are allowed to communicate in their network ACL
|
||||||
func AreNodesAllowed(networkID NetworkID, node1, node2 NodeID) bool {
|
func AreNodesAllowed(networkID NetworkID, node1, node2 NodeID) bool {
|
||||||
return true
|
|
||||||
NodesAllowedACLMutex.Lock()
|
NodesAllowedACLMutex.Lock()
|
||||||
defer NodesAllowedACLMutex.Unlock()
|
defer NodesAllowedACLMutex.Unlock()
|
||||||
var currentNetworkACL, err = FetchAllACLs(networkID)
|
var currentNetworkACL, err = FetchAllACLs(networkID)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue