diff options
author | Dima Dorfman <dd@FreeBSD.org> | 2002-10-02 00:27:14 +0000 |
---|---|---|
committer | Dima Dorfman <dd@FreeBSD.org> | 2002-10-02 00:27:14 +0000 |
commit | ba0f77df7ab6094d8e69d2d5df6773d42f9b7d36 (patch) | |
tree | ff2cf9999680dccb92bd860472c699dcd05f0c0b /crypto | |
parent | e9e3b985623461f7b7e378005c32ddaa52b45ccb (diff) | |
download | src-ba0f77df7ab6094d8e69d2d5df6773d42f9b7d36.tar.gz src-ba0f77df7ab6094d8e69d2d5df6773d42f9b7d36.zip |
Permit the argument to the -s option to be a hostname. I see no
reason to restrict this to a numeric address.
PR: 41841
Submitted by: Dmitry Pryanishnikov <dmitry@atlantis.dp.ua>,
Maxim Maximov <mcsi@agava.com>
Notes
Notes:
svn path=/head/; revision=104331
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/telnet/telnet/commands.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/crypto/telnet/telnet/commands.c b/crypto/telnet/telnet/commands.c index fa5319983aec..f0372a0a5856 100644 --- a/crypto/telnet/telnet/commands.c +++ b/crypto/telnet/telnet/commands.c @@ -2238,7 +2238,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); |