Fix forwarded remote_addr in the network
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user