Rollback simple ACL rules processing. (#803)

This commit is contained in:
Givi Khojanashvili
2023-04-12 11:39:17 +04:00
committed by GitHub
parent 251f2d7bc2
commit 0343c5f239
4 changed files with 98 additions and 6 deletions

View File

@@ -283,7 +283,7 @@ func (a *Account) GetGroup(groupID string) *Group {
// GetPeerNetworkMap returns a group by ID if exists, nil otherwise
func (a *Account) GetPeerNetworkMap(peerID, dnsDomain string) *NetworkMap {
aclPeers, _ := a.getPeersByPolicy(peerID)
aclPeers := a.getPeersByACL(peerID)
// exclude expired peers
var peersToConnect []*Peer
var expiredPeers []*Peer