Browse Source

fix peer list on interface

abhishek9686 8 tháng trước cách đây
mục cha
commit
5177f5cbfd
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      logic/extpeers.go

+ 1 - 1
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 {