Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails on non-compact IPv6 address #34

Open
briandfoy opened this issue Mar 8, 2025 · 0 comments
Open

Fails on non-compact IPv6 address #34

briandfoy opened this issue Mar 8, 2025 · 0 comments

Comments

@briandfoy
Copy link

briandfoy commented Mar 8, 2025

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant