bug squashin

This commit is contained in:
worker-9 2021-08-05 16:06:19 -04:00
parent 6210c34bee
commit 72f053b5c2

View file

@ -46,6 +46,9 @@ func GetPeersList(networkName string) ([]models.Node, error) {
peer.PublicKey = node.PublicKey
peer.Endpoint = node.Endpoint
peer.ListenPort = node.ListenPort
peer.AllowedIPs = node.AllowedIPs
peer.Address = node.Address
peer.Address6 = node.Address6
if node.UDPHolePunch == "yes" && errN == nil && functions.CheckEndpoint(udppeers[node.PublicKey]) {
endpointstring := udppeers[node.PublicKey]
endpointarr := strings.Split(endpointstring, ":")