~cjwatson/launchpad/geoip2

Viewing all changes in revision 19010.

  • Committer: Colin Watson
  • Date: 2019-07-04 18:27:28 UTC
  • Revision ID: cjwatson@canonical.com-20190704182728-8b5x7meogjlujodz
Use the ipaddress module rather than ad-hoc private IP address detection.

This allows us to detect non-global IPv6 addresses as well.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: