Merge from crypto telnet: permit the argument to -s to be a hostname.
This commit is contained in:
parent
f5801700f4
commit
9c9f69c519
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user