version 1.204, 2008/06/11 21:01:35 |
version 1.205, 2008/06/12 00:03:49 |
|
|
hints.ai_socktype = ai->ai_socktype; |
hints.ai_socktype = ai->ai_socktype; |
hints.ai_protocol = ai->ai_protocol; |
hints.ai_protocol = ai->ai_protocol; |
hints.ai_flags = AI_PASSIVE; |
hints.ai_flags = AI_PASSIVE; |
gaierr = getaddrinfo(options.bind_address, "0", &hints, &res); |
gaierr = getaddrinfo(options.bind_address, NULL, &hints, &res); |
if (gaierr) { |
if (gaierr) { |
error("getaddrinfo: %s: %s", options.bind_address, |
error("getaddrinfo: %s: %s", options.bind_address, |
ssh_gai_strerror(gaierr)); |
ssh_gai_strerror(gaierr)); |