Skip Menu |

This queue is for tickets about the Geo-IP2Location CPAN distribution.

Report information
The Basics
Id: 70712
Status: resolved
Priority: 0/
Queue: Geo-IP2Location

People
Owner: Nobody in particular
Requestors: NEILB [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 2.10
Fixed in: 8.00



Subject: Documentation doesn't say what will be returned for private IP addresses
The documentation doesn't say what you'll get back from get_country_short() and get_country_long() if you pass a private IP address. It appears to be '-', but it would be good if you documented that. Also, what do you get back from these methods if you pass an IP address not covered by the data file?
You will get "-" for the unassigned or private IP address. We will update it in the documentation.