mirror of
https://github.com/certbot/certbot.git
synced 2026-07-31 18:34:41 +02:00
Nginx IPv6 support (#5178)
* Nginx IPv6 support * Test and lint fixes * IPv6 tests to Nginx plugin * Make ipv6_info() port aware * Named tuple values for readability * Lint fix * Requested changes
This commit is contained in:
committed by
ohemorange
parent
2a13f00301
commit
68e37b03c8
@@ -251,7 +251,7 @@ class Addr(object):
|
||||
"""Normalized representation of addr/port tuple
|
||||
"""
|
||||
if self.ipv6:
|
||||
return (self._normalize_ipv6(self.tup[0]), self.tup[1])
|
||||
return (self.get_ipv6_exploded(), self.tup[1])
|
||||
return self.tup
|
||||
|
||||
def __eq__(self, other):
|
||||
|
||||
Reference in New Issue
Block a user