mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-28 22:25:07 +03:00
Remove wrappedConn as unnecessary
This commit is contained in:
parent
1b3ec0b93f
commit
ce60609906
2 changed files with 0 additions and 65 deletions
|
@ -255,13 +255,6 @@ func (t *tcp) call(saddr string, options interface{}, sintf string) {
|
|||
if err != nil {
|
||||
return
|
||||
}
|
||||
conn = &wrappedConn{
|
||||
c: conn,
|
||||
raddr: &wrappedAddr{
|
||||
network: "tcp",
|
||||
addr: saddr,
|
||||
},
|
||||
}
|
||||
t.handler(conn, false, dialerdst.String())
|
||||
} else {
|
||||
dst, err := net.ResolveTCPAddr("tcp", saddr)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue