GRA-985: rm locallistenport, added proxy public listen port field

This commit is contained in:
Abhishek Kondur
2023-01-18 02:03:19 +05:30
committed by Matthew R Kasun
parent c528110541
commit 63f18f539e
2 changed files with 0 additions and 2 deletions

View File

@@ -494,7 +494,6 @@ func (ln *LegacyNode) ConvertToNewNode() (*Host, *Node) {
host.HostPass = ln.Password
host.Name = ln.Name
host.ListenPort = int(ln.ListenPort)
host.LocalListenPort = int(ln.LocalListenPort)
host.ProxyListenPort = int(ln.ProxyListenPort)
host.MTU = int(ln.MTU)
host.PublicKey, _ = wgtypes.ParseKey(ln.PublicKey)