diff options
author | Ermal Luçi <eri@pfsense.org> | 2009-06-18 18:05:16 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2009-06-18 18:05:16 +0000 |
commit | 28506915d3945681f38bc89c0832d2bb093aa47a (patch) | |
tree | 5abdba908cba799cc2119a83122e38a51dfb4556 | |
parent | a5d6f60bf42e07949ccf9d46a29d539c9d327205 (diff) | |
download | pfsense-28506915d3945681f38bc89c0832d2bb093aa47a.zip pfsense-28506915d3945681f38bc89c0832d2bb093aa47a.tar.gz |
Restor previous NEGATE behaviour for 'any' destination behaviour
-rw-r--r-- | etc/inc/filter.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc index 73e5bf8..8ef1e1f 100644 --- a/etc/inc/filter.inc +++ b/etc/inc/filter.inc @@ -1500,7 +1500,7 @@ function generate_user_filter_rule($rule) /* exception(s) to a user rules can go here. */ /* rules with a gateway or pool should create another rule for routing to vpns */ - if (($aline['route'] <> "") && (trim($aline['type']) == "pass") && (trim($dst) == "any")) { + if (($aline['route'] <> "") && (trim($aline['type']) == "pass") && strstr($dst, "any")) { /* negate VPN/PPTP/PPPoE networks for load balancer/gateway rules */ $vpns = " to <vpns> "; $line .= $aline['type'] . $aline['direction'] . $aline['log'] . $aline['quick'] . @@ -2291,4 +2291,4 @@ EOD; return($ipfrules); } -?>
\ No newline at end of file +?> |