mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-28 14:15:06 +03:00
fix logging for socks
This commit is contained in:
parent
eeadffe4a5
commit
91235980af
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue