Skip to content

Commit

Permalink
fix peer list on interface
Browse files Browse the repository at this point in the history
  • Loading branch information
abhishek9686 committed Dec 16, 2024
1 parent 56f979b commit 5177f5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion logic/extpeers.go
Original file line number Diff line number Diff line change
Expand Up @@ -737,7 +737,7 @@ func GetExtPeers(node, peer *models.Node) ([]wgtypes.PeerConfig, []models.IDandA
continue
}
if extPeer.RemoteAccessClientID == "" {
if ok, _ := IsNodeAllowedToCommunicate(extPeer.ConvertToStaticNode(), *peer, true); !ok {
if ok := IsPeerAllowed(extPeer.ConvertToStaticNode(), *peer, true); !ok {
continue
}
} else {
Expand Down

0 comments on commit 5177f5c

Please sign in to comment.