Commit 0b35ebe0 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

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