Commit 23509adc authored by Anders Blomdell's avatar Anders Blomdell
Browse files

Set default for prefixlen

parent f9533d81
......@@ -81,6 +81,7 @@ def generate_ifcfgv4(tree, interface, search, nameservers):
a = util.address(ip)
netmask = None
network = None
prefixlen = None
broadcast = None
gateway = None
for s in filter(util.network, tree._subnet_ ):
......
Supports Markdown
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