mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-10 00:13:04 +01:00
Merge from crypto telnet: permit the argument to -s to be a hostname.
This commit is contained in:
parent
ba0f77df7a
commit
0d7e18c3e1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=104332
@ -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