mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-06 11:56:39 +08:00
fix error from branch create
This commit is contained in:
parent
c384e9dc4d
commit
482246477c
1 changed files with 3 additions and 0 deletions
|
@ -111,6 +111,9 @@ func GetPeerUpdate(node *models.Node) (models.PeerUpdate, error) {
|
||||||
if peer.LocalListenPort != 0 {
|
if peer.LocalListenPort != 0 {
|
||||||
peer.ListenPort = peer.LocalListenPort
|
peer.ListenPort = peer.LocalListenPort
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
continue
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// set address if setEndpoint is true
|
// set address if setEndpoint is true
|
||||||
|
|
Loading…
Add table
Reference in a new issue