summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_rules.php
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www/firewall_rules.php')
-rwxr-xr-xusr/local/www/firewall_rules.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/usr/local/www/firewall_rules.php b/usr/local/www/firewall_rules.php
index df74d4f..c3d420a 100755
--- a/usr/local/www/firewall_rules.php
+++ b/usr/local/www/firewall_rules.php
@@ -321,10 +321,7 @@ echo "<script type=\"text/javascript\" language=\"javascript\" src=\"/javascript
<?php if ($filterent['type'] == "block")
$iconfn = "block";
else if ($filterent['type'] == "reject") {
- if ($filterent['protocol'] == "tcp" || $filterent['protocol'] == "udp" || $filterent['protocol'] == "tcp/udp")
- $iconfn = "reject";
- else
- $iconfn = "block";
+ $iconfn = "reject";
} else
$iconfn = "pass";
if (isset($filterent['disabled'])) {
OpenPOWER on IntegriCloud