duplication detection logic and added better ouput for nodes in the IPTable
This commit is contained in:
2023-01-24 22:06:21 +00:00
parent f6c7a21601
commit 8106277956
7 changed files with 241 additions and 225 deletions

View File

@@ -209,8 +209,8 @@ func Server() error {
// updating with the current proxy address
ProxyIpAddr.Ipv4 = lowestLatencyIpAddress.Ipv4
ProxyIpAddr.ServerPort = proxyPort
ProxyIpAddr.ProxyPort = lowestLatencyIpAddress.ProxyPort
ProxyIpAddr.Name = config.MachineName
ProxyIpAddr.EscapeImplementation = "FRP"
// append the following to the ip table
table.IpAddress = append(table.IpAddress, ProxyIpAddr)