Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISPConfig
ISPConfig 3
Commits
b36d50e4
Commit
b36d50e4
authored
Aug 05, 2009
by
tbrehm
Browse files
Fixed bug in firewall.
parent
7acef043
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/plugins-available/firewall_plugin.inc.php
View file @
b36d50e4
...
...
@@ -85,7 +85,7 @@ class firewall_plugin {
}
else
{
$p_clean
=
intval
(
$p
);
}
if
(
$p_int
>
0
)
$tcp_ports
.
=
$p_clean
.
' '
;
$tcp_ports
.
=
$p_clean
.
' '
;
}
}
$tcp_ports
=
trim
(
$tcp_ports
);
...
...
@@ -99,7 +99,7 @@ class firewall_plugin {
}
else
{
$p_clean
=
intval
(
$p
);
}
if
(
$p_int
>
0
)
$udp_ports
.
=
$p_clean
.
' '
;
$udp_ports
.
=
$p_clean
.
' '
;
}
}
$udp_ports
=
trim
(
$udp_ports
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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