ipv6 formatted no longer has all the leading zeros
because it's arguably better this way
This commit is contained in:
@@ -155,7 +155,7 @@ class IPAddress(BASEV2, models.HasId):
|
||||
ip = netaddr.IPAddress(self.address_readable)
|
||||
if self.version == 4:
|
||||
return str(ip.ipv4())
|
||||
return ip.ipv6().format(dialect=netaddr.ipv6_verbose)
|
||||
return str(ip.ipv6())
|
||||
|
||||
deallocated_at = sa.Column(sa.DateTime())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user