|
@@ -737,7 +737,7 @@ func GetExtPeers(node, peer *models.Node) ([]wgtypes.PeerConfig, []models.IDandA
|
|
continue
|
|
continue
|
|
}
|
|
}
|
|
if extPeer.RemoteAccessClientID == "" {
|
|
if extPeer.RemoteAccessClientID == "" {
|
|
- if ok, _ := IsNodeAllowedToCommunicate(extPeer.ConvertToStaticNode(), *peer, true); !ok {
|
|
|
|
|
|
+ if ok := IsPeerAllowed(extPeer.ConvertToStaticNode(), *peer, true); !ok {
|
|
continue
|
|
continue
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|