mirror of
https://github.com/gravitl/netmaker.git
synced 2024-09-21 07:46:04 +08:00
fix error from branch create
This commit is contained in:
parent
c384e9dc4d
commit
482246477c
|
@ -111,6 +111,9 @@ func GetPeerUpdate(node *models.Node) (models.PeerUpdate, error) {
|
|||
if peer.LocalListenPort != 0 {
|
||||
peer.ListenPort = peer.LocalListenPort
|
||||
}
|
||||
} else {
|
||||
continue
|
||||
}
|
||||
}
|
||||
|
||||
// set address if setEndpoint is true
|
||||
|
|
Loading…
Reference in a new issue