Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emulab
emulab-devel
Commits
602e1c6d
Commit
602e1c6d
authored
Jan 18, 2005
by
Mike Hibler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace *all* instances of firewall variables in a line.
parent
4ebc8848
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tmcd/common/libsetup.pm
tmcd/common/libsetup.pm
+1
-1
No files found.
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
Markdown
is supported
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