Commit d787d67b authored by Leigh Stoller's avatar Leigh Stoller

Fix the fix in previous revision.

parent 32cfdb26
......@@ -173,8 +173,10 @@ for child in tree.getroot():
routertype = "static"
pass
pass
elif element.tag in ["loadlist"]:
Fatal("Unsupported request on node " + vname + ": " + element.tag)
elif (element.tag in ["loadlist", "cmd_line"] and
element.text and element.text != ""):
Fatal("Unsupported attribute on node " +
vname + ": " + element.tag + " - " + element.text)
pass
pass
nodes[vname] = node
......
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