Return to ssh.c CVS log | Up to [local] / src / usr.bin / ssh |
version 1.39, 2000/01/04 13:41:32 | version 1.40, 2000/02/20 20:05:19 | ||
---|---|---|---|
|
|
||
struct addrinfo *ai = NULL; | struct addrinfo *ai = NULL; | ||
int errgai; | int errgai; | ||
memset(&hints, 0, sizeof(hints)); | memset(&hints, 0, sizeof(hints)); | ||
hints.ai_family = AF_UNSPEC; | hints.ai_family = IPv4or6; | ||
hints.ai_flags = AI_CANONNAME; | hints.ai_flags = AI_CANONNAME; | ||
hints.ai_socktype = SOCK_STREAM; | hints.ai_socktype = SOCK_STREAM; | ||
errgai = getaddrinfo(host, NULL, &hints, &ai); | errgai = getaddrinfo(host, NULL, &hints, &ai); |