[evolution-patches] Re: [gene-pool] [Fwd: [Fwd: evolution and ipv6]]




You have to wonder, why does a host have an ipv6 address if it doesn't work?  ...

I guess the patch is ok, although i can't tell you any more about it than a c compiler would (i..e it should build).

BTW is this will ipv6 compiled in or out?  If in, then i didn't think that was a supported configuration anyway ...

On Sat, 2003-10-18 at 02:01, Jeffrey Stedfast wrote:
this was mentioned on fedora-beta-list the other day as well... the problem is that getaddrinfo() is resolving the hostname to an IPv6 addr rather than the IPv4 addr. Supposedly adding the AI_ADDRCONFIG flag to the hints will "fix" this. But low-and-behold, this flag is not actually available on anything except fedora linux (certainly not available on rh7.2, 8.0, or 9.0 - I checked).

I've actually already got a patch for this, but I don't really know if it works like Ulrich claims it will. nor does the online manual really explain how this works.

as far as I understand the man pages on getaddrinfo(), if I set hints.ai_family to PF_UNSPEC - it is *supposed* to use whatever the system is configued to use for the input hostname. but apparently that isn't the case. yay.

If the AI_ADDRCONFIG flag is specified then a query for AAAA or A6
records occurs only if the node has at least one IPv6 source address
configured and a query for A records occurs only if the node has at least
one IPv4 source address configured.  The loopback address is not
considered for this case as valid as a configured sources address.

Sounds safe enough I guess, but this flag isn't available on most systems it seems.

Anyways, patch attached.

On Fri, 2003-10-17 at 12:13, Ettore Perazzoli wrote:
Any idea on this?

-- 
Ettore Perazzoli <ettore ximian com>

From: Carlos <carlos ximian com>
To: ettore ximian com
Subject: [Fwd: evolution and ipv6]
Date: Fri, 17 Oct 2003 11:08:12 -0400


question from SuSE.

thanks

carlos


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