ipv6 formatting only if ipv6 support