Commit f6fd727d authored by David Johnson's avatar David Johnson

Minor bugfix.

parent 5b4d6926
Pipeline #3060 passed with stages
in 15 seconds
......@@ -83,7 +83,7 @@ for i in node.findall("g:interface",namespaces=nsmap):
# Collect ipv6 addrs for /etc/hosts
hostslines = []
for n in x.findall("g:node",namespaces=nsmap):
for i in node.findall("g:interface",namespaces=nsmap):
for i in n.findall("g:interface",namespaces=nsmap):
for a in i.findall("c:ip",namespaces=nsmap):
if a.get("type") != "ipv6":
continue
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment