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-stable
Commits
602e1c6d
Commit
602e1c6d
authored
Jan 18, 2005
by
Mike Hibler
Browse files
Replace *all* instances of firewall variables in a line.
parent
4ebc8848
Changes
1
Hide whitespace changes
Inline
Side-by-side
tmcd/common/libsetup.pm
View file @
602e1c6d
...
...
@@ -855,7 +855,7 @@ sub expandfwvars($)
if
(
$rule
->
{
RULE
}
=~
/EMULAB_\w+/
)
{
foreach
my
$key
(
keys
%fwvars
)
{
$rule
->
{
RULE
}
=~
s/$key/$fwvars{$key}/
$rule
->
{
RULE
}
=~
s/$key/$fwvars{$key}/
g
if
(
defined
(
$fwvars
{
$key
}));
}
if
(
$rule
->
{
RULE
}
=~
/EMULAB_\w+/
)
{
...
...
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