Changed ipv6 disabling (to prevent deprecation warning)