Return to ssh.c CVS log | Up to [local] / src / usr.bin / ssh |
version 1.426, 2015/09/24 06:15:11 | version 1.427, 2015/10/15 23:51:40 | ||
---|---|---|---|
|
|
||
if (port <= 0) | if (port <= 0) | ||
port = default_ssh_port(); | port = default_ssh_port(); | ||
snprintf(strport, sizeof strport, "%u", port); | snprintf(strport, sizeof strport, "%d", port); | ||
memset(&hints, 0, sizeof(hints)); | memset(&hints, 0, sizeof(hints)); | ||
hints.ai_family = options.address_family == -1 ? | hints.ai_family = options.address_family == -1 ? | ||
AF_UNSPEC : options.address_family; | AF_UNSPEC : options.address_family; |