Re: [evolution-patches] [PATCH] Only use ipv6 address if ipv6 interface is available
- From: Dan Winship <danw ximian com>
- To: Jeremy Katz <katzj redhat com>
- Cc: evolution-patches ximian com
- Subject: Re: [evolution-patches] [PATCH] Only use ipv6 address if ipv6 interface is available
- Date: Fri, 17 Oct 2003 16:17:52 -0400
On Fri, 2003-10-17 at 15:50, Jeremy Katz wrote:
> Based on comments from Ulrich -- when using IPv6, you want to use the
> AI_ADDRCONFIG flag in the hints argument to getaddrinfo() to avoid
> connecting to an IPv6 address if you don't have an IPv6 interface
> configured.
What is the purpose of the additional call to getaddrinfo without
AI_ADDRCONFIG? It seems like if the first call fails, the second call
would either also fail or would return an address that was guaranteed to
be unusable.
-- Dan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]