mirror of
https://github.com/restic/restic.git
synced 2025-12-04 00:31:48 +00:00
Update golang.org/x/crypto/ssh
This commit is contained in:
3
vendor/src/golang.org/x/crypto/ssh/tcpip.go
vendored
3
vendor/src/golang.org/x/crypto/ssh/tcpip.go
vendored
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user