Date: Fri, 23 Aug 2002 02:10:04 -0700 (PDT) From: dmitry@atlantis.dp.ua To: freebsd-bugs@FreeBSD.org Subject: Re: bin/41841: telnet client can't resolve hostname in Message-ID: <200208230910.g7N9A4Zj008041@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <mcsi@agava.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208230910.g7N9A4Zj008041>