Commit 0b35ebe0 authored by Leigh Stoller's avatar Leigh Stoller

If the firewall vlan exists, do not create new one, reuse the old one.

Allows the firewall setup code to be rerun.
parent 7ea51b9f
......@@ -71,7 +71,9 @@ sub doFWlans($$$) {
}
if ($action == FWSETUP) {
$fwvid = TBGetUniqueIndex("cnet_vlanid");
# Allow redo.
$fwvid = TBGetUniqueIndex("cnet_vlanid")
if (!defined($fwvid));
print "Setting up control net firewall.\n";
}
......
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