From 9c9f69c519678216eea52bfde4be14400044f4dc Mon Sep 17 00:00:00 2001
From: dd
Date: Wed, 2 Oct 2002 00:29:34 +0000
Subject: [PATCH] Merge from crypto telnet: permit the argument to -s to be a
hostname.
---
usr.bin/telnet/commands.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/usr.bin/telnet/commands.c b/usr.bin/telnet/commands.c
index 59adb16e4d32..90da71d9291c 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);