Subject: Re: How to detect if IPv6 has been disabled?

Re: How to detect if IPv6 has been disabled?

From: Ben Greear <greearb_at_candelatech.com>
Date: Mon, 09 Aug 2010 09:17:02 -0700

On 08/09/2010 04:29 AM, Tommie Gannert wrote:
> Ben Greear wrote:
>> It seems we cannot use sockaddr_storage.ss_family on AIX because
>> it does not have IPv6.
>>
>> Does anyone know the proper #ifdef to see if --disable-ipv6 has been
>> passed
>> on the command line?
> I can't even see support for --disable-ipv6 in the configure script.
> Is this new code outside the github repo?

I was basing my assumptions on the auto-build information. It appears
to me that there is a great deal of black magic going on with the
auto-build tools.

Either way, I fixed up the c-ares code to properly detect lack
of ss_family as far as I can tell.

Thanks,
Ben

-- 
Ben Greear <greearb_at_candelatech.com>
Candela Technologies Inc  http://www.candelatech.com
Received on 2010-08-09