From owner-freebsd-bugs Fri Aug 23 2:10: 7 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F2E1337B400 for ; Fri, 23 Aug 2002 02:10:04 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id AEAD143E77 for ; Fri, 23 Aug 2002 02:10:04 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g7N9A4JU008042 for ; Fri, 23 Aug 2002 02:10:04 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g7N9A4Zj008041; Fri, 23 Aug 2002 02:10:04 -0700 (PDT) Date: Fri, 23 Aug 2002 02:10:04 -0700 (PDT) Message-Id: <200208230910.g7N9A4Zj008041@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: dmitry@atlantis.dp.ua Subject: Re: bin/41841: telnet client can't resolve hostname in Reply-To: dmitry@atlantis.dp.ua Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR bin/41841; it has been noted by GNATS. From: dmitry@atlantis.dp.ua To: freebsd-gnats-submit@FreeBSD.org, dmitry@atlantis.dp.ua Cc: Subject: Re: bin/41841: telnet client can't resolve hostname in Date: Fri, 23 Aug 2002 12:05:12 +0300 (EEST) Hello! Maxim Maximov wrote: > so either manpage lies, or one should remove this string from commands.c Yes, the following patch: --- commands.c.orig Sat Apr 13 14:07:13 2002 +++ commands.c Fri Aug 23 08:56:26 2002 @@ -1980,7 +1980,6 @@ 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); fixes the problem in 4.6.2-RELEASE (commands.c version 1.21.2.5). Please commit this trivial fix! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message