pr comment: set public listen port

This commit is contained in:
Abhishek Kondur 2023-01-18 21:06:45 +05:30
parent 6b3a636ca9
commit a50242e2f9

View file

@ -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