diff --git a/attributs.py b/attributs.py index 7054303..319770f 100644 --- a/attributs.py +++ b/attributs.py @@ -561,7 +561,7 @@ class ip6HostNumber(Attr): can_modify = [nounou] def parse_value(self, ip6): - ip = ip6_of_mac(self.parent['macAddress'][0], int(self.parent['rid'][0])) + ip = ip6_of_mac(str(self.parent['macAddress'][0]), int(str(self.parent['rid'][0]))) self.value = netaddr.ip.IPAddress(ip) def __unicode__(self):