From a50242e2f915f45dadf025bc1c8375a5f1c7a5a3 Mon Sep 17 00:00:00 2001 From: Abhishek Kondur Date: Wed, 18 Jan 2023 21:06:45 +0530 Subject: [PATCH] pr comment: set public listen port --- models/api_host.go | 1 + 1 file changed, 1 insertion(+) diff --git a/models/api_host.go b/models/api_host.go index 6b759da8..cb40c9f8 100644 --- a/models/api_host.go +++ b/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