summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Halley <halley@dnspython.org>2020-08-25 09:18:10 -0700
committerBob Halley <halley@dnspython.org>2020-08-25 09:18:10 -0700
commit18db9e360b1ed3ee341db37cc15f53e543ad51ec (patch)
treee295977487f02f21b68dd07e625090372ba4aa6b
parent6594ff23d1cc231ceef285d96dfcdc1bb5de814f (diff)
downloaddnspython-18db9e360b1ed3ee341db37cc15f53e543ad51ec.tar.gz
use self._as_name()
-rw-r--r--dns/rdtypes/ANY/HIP.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/dns/rdtypes/ANY/HIP.py b/dns/rdtypes/ANY/HIP.py
index f3cb34e..2901fdd 100644
--- a/dns/rdtypes/ANY/HIP.py
+++ b/dns/rdtypes/ANY/HIP.py
@@ -39,7 +39,7 @@ class HIP(dns.rdata.Rdata):
self.hit = self._as_bytes(hit, True, 255)
self.algorithm = self._as_uint8(algorithm)
self.key = self._as_bytes(key, True)
- self.servers = tuple([dns.rdata.Rdata._as_name(s) for s in servers])
+ self.servers = tuple([self._as_name(s) for s in servers])
def to_text(self, origin=None, relativize=True, **kw):
hit = binascii.hexlify(self.hit).decode()