mq direct to server public ip

This commit is contained in:
Matthew R. Kasun
2022-04-12 10:43:02 -04:00
parent 6dbc42794e
commit 935567761b
13 changed files with 104 additions and 134 deletions

View File

@@ -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(&currentCommsCfg, cfg)
PublishNodeUpdate(cfg)
}
}
}