Permalink
Browse files

the state type is required/valid for all specifications of protocol, not

just the ones formerly listed. For instance, sloppy is valid (and widely
used on 2.0.x and some older 2.1x) with "any" protocol.
  • Loading branch information...
1 parent 887d1b0 commit 653bde345e8f960de5bc745fe74e64d8ef3fd2d3 Chris Buechler committed Aug 2, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 etc/inc/filter.inc
View
@@ -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.

0 comments on commit 653bde3

Please sign in to comment.