diff --git a/utils/he_ipv6/config.py b/utils/he_ipv6/config.py index 8c3259a..4bceac8 100644 --- a/utils/he_ipv6/config.py +++ b/utils/he_ipv6/config.py @@ -94,7 +94,8 @@ class Tunnel(object): self.parse() def _allocations(self): - for _allocation_xml in self.xml.findall('allocs'): + _allocs_xml = self.xml.find('allocs') + for _allocation_xml in _allocs_xml.findall('alloc'): self.allocations.append(Allocation(_allocation_xml)) return(None)