From 5177f5cbfd6c133adc56fbc4a9e230c4b0c82953 Mon Sep 17 00:00:00 2001 From: abhishek9686 Date: Mon, 16 Dec 2024 22:29:42 +0400 Subject: [PATCH] fix peer list on interface --- logic/extpeers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logic/extpeers.go b/logic/extpeers.go index 1f84c7e34..a005b54c5 100644 --- a/logic/extpeers.go +++ b/logic/extpeers.go @@ -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 {