Removed the ipv6 validation check

ipv6 validation check may cause the script to hang if ipv6 is not enabled.