Subject: How to detect if IPv6 has been disabled?

How to detect if IPv6 has been disabled?

From: Ben Greear <greearb_at_candelatech.com>
Date: Sat, 31 Jul 2010 21:01:38 -0700

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?

Thanks,
Ben

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