Skip to content

Commit

Permalink
Fix forwarded remote_addr in the network
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexxIT committed Jun 16, 2024
1 parent da5f060 commit bdc7ff1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/core/connection.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func (c *Connection) SetRemoteAddr(s string) {
if c.RemoteAddr == "" {
c.RemoteAddr = s
} else {
c.RemoteAddr += " forward " + c.RemoteAddr
c.RemoteAddr += " forwarded " + s
}
}

Expand Down

0 comments on commit bdc7ff1

Please sign in to comment.