Commit b36d50e4 authored by tbrehm's avatar tbrehm

Fixed bug in firewall.

parent 7acef043
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment