remove needless ipv6 checks