Browse Source

rebased off develop

afeiszli 3 years ago
parent
commit
14cebf56a0
1 changed files with 3 additions and 0 deletions
  1. 3 0
      netclient/functions/join.go

+ 3 - 0
netclient/functions/join.go

@@ -189,6 +189,9 @@ func JoinNetwork(cfg *config.ClientConfig, privateKey string) error {
 	if err := Register(cfg, privateKey); err != nil {
 		return err
 	}
+
+	_ = UpdateLocalListenPort(cfg)
+
 	if cfg.Daemon != "off" {
 		err = daemon.InstallDaemon(cfg)
 		if err != nil {