lol still dum
This commit is contained in:
parent
8ad2fbff22
commit
1b82e67c93
@ -178,8 +178,8 @@ class Tunnel(object):
|
|||||||
_ra_xml = _assign_xml.find('ra')
|
_ra_xml = _assign_xml.find('ra')
|
||||||
if _ra_xml is not None and self.ra_provider:
|
if _ra_xml is not None and self.ra_provider:
|
||||||
tag = _ra_xml.attrib.get('tag', None)
|
tag = _ra_xml.attrib.get('tag', None)
|
||||||
_dns_xml = _assign_xml.find('dns')
|
_dns_xml = _ra_xml.find('dns')
|
||||||
_dhcp_xml = _assign_xml.find('dhcpv6')
|
_dhcp_xml = _ra_xml.find('dhcpv6')
|
||||||
if _dns_xml is not None:
|
if _dns_xml is not None:
|
||||||
do_dns = utils.xml2bool(_dns_xml.text.strip())
|
do_dns = utils.xml2bool(_dns_xml.text.strip())
|
||||||
domains = [i.strip() for i in _dns_xml.attrib.get('domains', '').split() if i.strip() != '']
|
domains = [i.strip() for i in _dns_xml.attrib.get('domains', '').split() if i.strip() != '']
|
||||||
|
Loading…
Reference in New Issue
Block a user