diff --git a/src/core/tcp.go b/src/core/tcp.go index c9bfd65f..5c3e506b 100644 --- a/src/core/tcp.go +++ b/src/core/tcp.go @@ -277,7 +277,7 @@ func (t *tcp) call(saddr string, options tcpOptions, sintf string) { return } t.waitgroup.Add(1) - options.socksPeerAddr = conn.RemoteAddr().String() + options.socksPeerAddr = saddr if ch := t.handler(conn, false, options); ch != nil { <-ch }