Adding ipv6 check