From owner-cvs-all Sat Jul 21 15:23:11 2001 Delivered-To: cvs-all@freebsd.org Received: from Awfulhak.org (gw.Awfulhak.org [217.204.245.18]) by hub.freebsd.org (Postfix) with ESMTP id 0D4EC37B403; Sat, 21 Jul 2001 15:23:03 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from hak.lan.Awfulhak.org (root@hak.lan.Awfulhak.org [172.16.0.12]) by Awfulhak.org (8.11.4/8.11.4) with ESMTP id f6LMMxL12664; Sat, 21 Jul 2001 23:22:59 +0100 (BST) (envelope-from brian@lan.Awfulhak.org) Received: from hak.lan.Awfulhak.org (brian@localhost [127.0.0.1]) by hak.lan.Awfulhak.org (8.11.4/8.11.4) with ESMTP id f6LMMtg79753; Sat, 21 Jul 2001 23:22:55 +0100 (BST) (envelope-from brian@hak.lan.Awfulhak.org) Message-Id: <200107212222.f6LMMtg79753@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.3.1 01/18/2001 with nmh-1.0.4 To: Hajimu UMEMOTO Cc: brian@FreeBSD.org, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, brian@Awfulhak.org Subject: Re: cvs commit: src/lib/libutil realhostname.c In-Reply-To: Message from Hajimu UMEMOTO of "Sun, 22 Jul 2001 03:58:31 +0900." <20010722.035831.71138318.ume@mahoroba.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 21 Jul 2001 23:22:55 +0100 From: Brian Somers Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > >>>>> On Fri, 20 Jul 2001 17:18:54 -0700 (PDT) > >>>>> Brian Somers said: > > brian> brian 2001/07/20 17:18:54 PDT > > brian> Modified files: > brian> lib/libutil realhostname.c > brian> Log: > brian> Hint getaddrinfo() correctly if we're looking up a name that we got from > brian> an AF_INET6 address. > > brian> MFC after: 1 week > > brian> Revision Changes Path > brian> 1.12 +10 -3 src/lib/libutil/realhostname.c > > It seems break IPv4 mapped IPv6 address case. Hi, Do you mean ::ffff:a.b.c.d type addresses ? I'm probably mis-understanding things. Can you give me an example of how such a connection is supposed to work ? I mean... if ::ffff:* addresses aren't supposed to understand IPv6, why are they a concern ? I'm clearly missing something. My change was done because the normal IPv6 scenario doesn't work at the moment (where I have gw.lan.Awfulhak.org resolving an A request to 172.16.0.1 and an AAAA request to fec0::1). When I connect from fec0::1 it simply fails to resolve using AF_UNSPEC and dumps fec0::1 in utmp :( Thanks for any light you can put on the subject :I > -- > Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan > ume@mahoroba.org ume@bisd.hitachi.co.jp ume@{,jp.}FreeBSD.org > http://www.imasy.org/~ume/ -- Brian http://www.freebsd-services.com/ Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message