fix ipv6 support for geoip