mirror of
https://github.com/gravitl/netmaker.git
synced 2025-02-27 01:23:00 +08:00
bug squashin
This commit is contained in:
parent
6210c34bee
commit
72f053b5c2
1 changed files with 3 additions and 0 deletions
|
@ -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, ":")
|
||||
|
|
Loading…
Reference in a new issue