cjheath / geoip

The Ruby gem for querying Maxmind.com's GeoIP database, which returns the geographic location of a server given its IP address

Home Page:http://geoip.rubyforge.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GeoIP#asn always returns nil

postmodern opened this issue · comments

I'm using the example GeoIPASNum.dat DB from the README, but cannot get any ASN information from it for any IP or HostName. It seems the regepx at the end of GeoIP#asn isn't matching.

Fixed - it was another occurrence of 2_n-1 != 2_(n-1). 1.1.1 is released, properly this time I hope.