mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-22 00:19:39 +08:00
publishing port changes
This commit is contained in:
@@ -155,6 +155,7 @@ func NodeUpdate(client mqtt.Client, msg mqtt.Message) {
|
||||
// logger.Log(0, "error applying dns" + err.Error())
|
||||
// }
|
||||
}
|
||||
_ = UpdateLocalListenPort(&nodeCfg)
|
||||
}
|
||||
|
||||
// UpdatePeers -- mqtt message handler for peers/<Network>/<NodeID> topic
|
||||
@@ -213,6 +214,7 @@ func UpdatePeers(client mqtt.Client, msg mqtt.Message) {
|
||||
return
|
||||
}
|
||||
}
|
||||
_ = UpdateLocalListenPort(&cfg)
|
||||
}
|
||||
|
||||
func setHostDNS(dns, iface string, windows bool) error {
|
||||
|
Reference in New Issue
Block a user