From 71df39ca115f59d62461692847688ac8320f3794 Mon Sep 17 00:00:00 2001 From: brent s Date: Tue, 12 May 2020 23:17:44 -0400 Subject: [PATCH] dang it. --- utils/he_ipv6/config.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)