Commit 0b951e48 authored by David Johnson's avatar David Johnson

Minor bugfix.

parent 568beb0b
Pipeline #3058 passed with stages
in 15 seconds
......@@ -62,7 +62,7 @@ for i in node.findall("g:interface",namespaces=nsmap):
(addr,prefixlen) = (a.get("address"),a.get("prefixlen"))
addrs.append("%s/%s" % (addr,prefixlen))
# Save for /etc/hosts
name = i.client_id.replace(':','-')
name = i.get("client_id").replace(':','-')
hostslines.append("%s\t%s\n" % (addr,name))
if dev and addrs:
print "Enabling overall ipv6 forwarding and segment routing..."
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