added hostname passthrough

This commit is contained in:
2023-01-17 17:00:15 +00:00
parent f959b70ab9
commit 120654a901
5 changed files with 14 additions and 0 deletions

View File

@@ -189,6 +189,7 @@ func Server() error {
ProxyIpAddr.Ipv4 = lowestLatencyIpAddress.Ipv4
ProxyIpAddr.ServerPort = proxyPort
ProxyIpAddr.ProxyPort = lowestLatencyIpAddress.ProxyPort
ProxyIpAddr.Name = config.MachineName
// append the following to the ip table
table.IpAddress = append(table.IpAddress, ProxyIpAddr)