Update golang.org/x/crypto/ssh

This commit is contained in:
Alexander Neumann
2016-09-15 22:33:32 +02:00
parent 35ba817128
commit 799cc37c22
46 changed files with 2294 additions and 504 deletions

View File

@@ -355,6 +355,9 @@ func (c *Client) dial(laddr string, lport int, raddr string, rport int) (Channel
lport: uint32(lport),
}
ch, in, err := c.OpenChannel("direct-tcpip", Marshal(&msg))
if err != nil {
return nil, err
}
go DiscardRequests(in)
return ch, err
}