mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-16 13:51:42 +08:00
mq direct to server public ip
This commit is contained in:
@@ -297,8 +297,7 @@ func setListenPort(oldListenPort int32, cfg *config.ClientConfig) {
|
||||
|
||||
// if newListenPort has been modified to find an available port, publish to server
|
||||
if cfg.Node.ListenPort != newListenPort {
|
||||
var currentCommsCfg = getCommsCfgByNode(&cfg.Node)
|
||||
PublishNodeUpdate(¤tCommsCfg, cfg)
|
||||
PublishNodeUpdate(cfg)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user