perl icon indicating copy to clipboard operation
perl copied to clipboard

Fails on non-compact IPv6 address

Open briandfoy opened this issue 10 months ago • 0 comments

Geo::IPinfo will fail to lookup an IPv6 addresses that are not compact since it uses Net::CIDR to validate the address. However, there's a problem in Net::CIDR::cidrvalidate where it only works with the compressed form but does not compress its arguments.

I've made a pull request against Net::CIDR for this (svarshavchik/Net-CIDR#2), but I can also solve this one once my current pull requests for this repo land.

briandfoy avatar Mar 08 '25 22:03 briandfoy