// ip2long on an ipv6 does not return an integer to it needs to be casted in int