Remove wrappedConn as unnecessary

This commit is contained in:
Neil Alexander 2019-05-18 16:16:32 +01:00
parent 1b3ec0b93f
commit ce60609906
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944
2 changed files with 0 additions and 65 deletions

View file

@ -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)