From 1b82e67c9370fc9be590cac57d8a722050090f53 Mon Sep 17 00:00:00 2001 From: brent s Date: Mon, 18 May 2020 06:47:33 -0400 Subject: [PATCH] lol still dum --- utils/he_ipv6/tunnel.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/he_ipv6/tunnel.py b/utils/he_ipv6/tunnel.py index 7487d83..b12a720 100644 --- a/utils/he_ipv6/tunnel.py +++ b/utils/he_ipv6/tunnel.py @@ -178,8 +178,8 @@ class Tunnel(object): _ra_xml = _assign_xml.find('ra') if _ra_xml is not None and self.ra_provider: tag = _ra_xml.attrib.get('tag', None) - _dns_xml = _assign_xml.find('dns') - _dhcp_xml = _assign_xml.find('dhcpv6') + _dns_xml = _ra_xml.find('dns') + _dhcp_xml = _ra_xml.find('dhcpv6') if _dns_xml is not None: do_dns = utils.xml2bool(_dns_xml.text.strip()) domains = [i.strip() for i in _dns_xml.attrib.get('domains', '').split() if i.strip() != '']