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
28d46263
Commit
28d46263
authored
Nov 11, 2004
by
Mike Hibler
Browse files
Botch in firewall setup. This makes the script forward-compatible.
parent
52b2c206
Changes
1
Hide whitespace changes
Inline
Side-by-side
tmcd/common/libsetup.pm
View file @
28d46263
...
...
@@ -861,6 +861,7 @@ sub getfwconfig($$)
my
$fwpat
=
q(TYPE=([\w-]+) STYLE=(\w+) IN_IF=(\w*) OUT_IF=(\w*) IN_VLAN=(\d+) OUT_VLAN=(\d+))
;
my
$rpat
=
q(RULENO=(\d*) RULE="(.*)")
;
$fwinfo
->
{"
TYPE
"}
=
"
none
";
foreach
my
$line
(
@tmccresults
)
{
if
(
$line
=~
/TYPE=([\w-]+)/
)
{
my
$type
=
$
1
;
...
...
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