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

This commit is contained in:
Dima Dorfman 2002-10-02 00:29:34 +00:00
parent ba0f77df7a
commit 0d7e18c3e1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=104332

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);