浏览代码

pr comment: set public listen port

Abhishek Kondur 2 年之前
父节点
当前提交
a50242e2f9
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      models/api_host.go

+ 1 - 0
models/api_host.go

@@ -89,6 +89,7 @@ func (a *ApiHost) ConvertAPIHostToNMHost(currentHost *Host) *Host {
 	h.IsStatic = a.IsStatic
 	h.ListenPort = a.ListenPort
 	h.ProxyListenPort = a.ProxyListenPort
+	h.PublicListenPort = currentHost.PublicListenPort
 	h.MTU = a.MTU
 	h.MacAddress = currentHost.MacAddress
 	h.PublicKey = currentHost.PublicKey