Fix forwarded remote_addr in the network

This commit is contained in:
Alex X
2024-06-16 19:04:34 +03:00
parent da5f060741
commit bdc7ff1035
+1 -1
View File
@@ -96,7 +96,7 @@ func (c *Connection) SetRemoteAddr(s string) {
if c.RemoteAddr == "" { if c.RemoteAddr == "" {
c.RemoteAddr = s c.RemoteAddr = s
} else { } else {
c.RemoteAddr += " forward " + c.RemoteAddr c.RemoteAddr += " forwarded " + s
} }
} }