diff --git a/server/plugins-available/firewall_plugin.inc.php b/server/plugins-available/firewall_plugin.inc.php
index c4468523533967b551fac51556661ce237afe79b..9039946efbbac529fa93f6f7ab6ddb0d2414b354 100644
--- a/server/plugins-available/firewall_plugin.inc.php
+++ b/server/plugins-available/firewall_plugin.inc.php
@@ -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);