Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Apr 2000 13:02:48 +0900
From:      Yoshinobu Inoue <shin@nd.net.fujitsu.co.jp>
To:        green@FreeBSD.org
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/lib/libc/net getaddrinfo.c name6.c
Message-ID:  <20000421130248I.shin@nd.net.fujitsu.co.jp>
In-Reply-To: <Pine.BSF.4.21.0004202141190.20816-100000@green.dyndns.org>
References:  <20000421093912D.shin@nd.net.fujitsu.co.jp> <Pine.BSF.4.21.0004202141190.20816-100000@green.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> > I have one question about the patches.
> > [...]
> > What "type" value is supposed in doinet6first case?
> > I suppose that someone is calling
> >   gethostbyname_internal(name, AF_INET, 1)
> > at somewhere, but the part of diff seems to be missing.
> 
> Try using patch -R; I reversed the diff accidentally, since I am used
> to typing .orig first, usually.  It's all there, though;  here's the
> caller:
> 
> +       return (gethostbyname_internal(name, AF_INET,
> +           (_res.options & RES_USE_INET6) != 0));

OK, thanks, I understand the patches.

However, as the gethostbyname() original problem, using
gethostbyname() for either of IPv4 and IPv6 still seems to be
difficult because it doesn't return sockaddr, but actual
protocol dependent address structure.
But there might be also some useful case which I don't know
yet.

Do you have some plan or idea about it?

Thanks,
Yoshinobu Inoue


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000421130248I.shin>