summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/inc/filter.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index bcd8931..154e312 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -2334,7 +2334,7 @@ function filter_generate_user_rule($rule) {
$aline['flags'] = "flags S/SA ";
}
}
- if (in_array($rule['protocol'], array("icmp","udp","tcp","tcp/udp")) && ($type == "pass")) {
+ if ($type == "pass") {
/*
* # keep state
* works with TCP, UDP, and ICMP.
OpenPOWER on IntegriCloud