summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordd <dd@FreeBSD.org>2002-10-02 00:29:34 +0000
committerdd <dd@FreeBSD.org>2002-10-02 00:29:34 +0000
commit9c9f69c519678216eea52bfde4be14400044f4dc (patch)
tree6ade7ba2906f90fa2641412c399a99b943b3e6da
parentf5801700f44a8478aa0fbddd285bab7ae2385f70 (diff)
downloadFreeBSD-src-9c9f69c519678216eea52bfde4be14400044f4dc.zip
FreeBSD-src-9c9f69c519678216eea52bfde4be14400044f4dc.tar.gz
Merge from crypto telnet: permit the argument to -s to be a hostname.
-rw-r--r--usr.bin/telnet/commands.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/usr.bin/telnet/commands.c b/usr.bin/telnet/commands.c
index 59adb16..90da71d 100644
--- a/usr.bin/telnet/commands.c
+++ b/usr.bin/telnet/commands.c
@@ -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);
OpenPOWER on IntegriCloud