Merge from crypto telnet: permit the argument to -s to be a hostname.

This commit is contained in:
dd 2002-10-02 00:29:34 +00:00
parent f5801700f4
commit 9c9f69c519

View File

@ -1980,7 +1980,6 @@ tn(int argc, char *argv[])
if (src_addr != NULL) {
memset(&hints, 0, sizeof(hints));
hints.ai_flags = AI_NUMERICHOST;
hints.ai_family = family;
hints.ai_socktype = SOCK_STREAM;
error = getaddrinfo(src_addr, 0, &hints, &src_res);