diff --git a/ssh/tcpip.go b/ssh/tcpip.go index 16f749d5de..b0965943cf 100644 --- a/ssh/tcpip.go +++ b/ssh/tcpip.go @@ -334,8 +334,7 @@ func (l *tcpListener) Addr() net.Addr { // Dial initiates a connection to the addr from the remote host. // The resulting connection has a zero LocalAddr() and RemoteAddr(). -// Like net.Dial -// For TCP addresses the port section of the address can be a service name. +// For TCP addresses the port section of the address can be a port number or a service name. // Service names are resolved at the client side, domain names are resolved on the server. func (c *Client) Dial(n, addr string) (net.Conn, error) { var ch Channel