Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
0b35ebe0
Commit
0b35ebe0
authored
Jul 18, 2011
by
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
db/Firewall.pm.in
View file @
0b35ebe0
...
...
@@ -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
"
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment