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

Add IPv6 City lookup function and expose netmask fields #30

Open
wants to merge 17 commits into
base: master
Choose a base branch
from

Conversation

horgh
Copy link

@horgh horgh commented Jan 4, 2018

These commits do a few things. I'd be happy to split them into separate PRs if you prefer.

Primarily:

  • Adds the ability to look up City records in IPv6 databases
  • Exposes the netmask field of GeoIPRecord
  • Exposes the netmask field of GeoIP. This is useful if we don't find a record and so can't use the netmask from GeoIPRecord
  • Expose toggling the Teredo flag
  • I added a bit more validation as well.

Thank you!

@horgh
Copy link
Author

horgh commented Jan 4, 2018

Ah, I see #29 also adds a way to do IPv6 lookups, though in a bit different way.

horgh added 2 commits January 5, 2018 00:30
This is useful for iterating the database as we will receive the netmask
of the gap.
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

Successfully merging this pull request may close these issues.

3 participants