[Bug 910] known_hosts port numbers

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Sat May 21 11:53:11 EST 2005


http://bugzilla.mindrot.org/show_bug.cgi?id=910





------- Additional Comments From dtucker at zip.com.au  2005-05-21 11:53 -------
(From update of attachment 914)
Also noticed this minor improvement:
>+	u_short port = options.port ? options.port : SSH_DEFAULT_PORT;
[...]
>-		ssh_kex2(host, hostaddr);
>+		ssh_kex2(host, port, hostaddr);

Since check_host_key() will happily accept a port of zero as meaning the
default, we could just feed it options.port.

In fact, we could do away with the extra argument entirely and just use
options.port directly, which would cut the diff a bit.




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




More information about the openssh-bugs mailing list