Return to sshconnect.c CVS log | Up to [local] / src / usr.bin / ssh |
version 1.113, 2001/10/06 11:18:19 | version 1.114, 2001/10/08 16:15:47 | ||
---|---|---|---|
|
|
||
return sock; | return sock; | ||
memset(&hints, 0, sizeof(hints)); | memset(&hints, 0, sizeof(hints)); | ||
hints.ai_family = IPv4or6; | hints.ai_family = family; | ||
hints.ai_socktype = SOCK_STREAM; | hints.ai_socktype = SOCK_STREAM; | ||
hints.ai_flags = AI_PASSIVE; | hints.ai_flags = AI_PASSIVE; | ||
gaierr = getaddrinfo(options.bind_address, "0", &hints, &res); | gaierr = getaddrinfo(options.bind_address, "0", &hints, &res); |