[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: bindv6only again



On Thu, Apr 29, 2010 at 18:33:58 +0200, Kurt Roeckx wrote:

> So the question is then if you care about kernels without ipv6
> support.  If getaddrinfo() returns an ipv6 address and you
> don't go over the list, you have a problem.
> 
gdm first calls getaddrinfo() with hints.ai_family == AF_INET6.  If the
kernel doesn't have ipv6 support, the following socket(PF_INET6,
SOCK_DGRAM, 0) will return -1, and gdm will fall back to getaddrinfo()
with hints.ai_family == AF_INET.  Should work just fine.

Cheers,
Julien

Attachment: signature.asc
Description: Digital signature


Reply to: