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



this was applied

On Fri, 2003-10-17 at 12:31, 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]