Fixed IPv4/v6 support checks