diff options
author | Chris Buechler <cmb@pfsense.org> | 2011-12-20 16:36:49 -0500 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2011-12-20 16:36:49 -0500 |
commit | 184a6cebbd1a27b55b61f1be4474df39470fb760 (patch) | |
tree | f7bf70fb093a72f622346582f520c4b7eaac3569 /etc | |
parent | dd72c4183812777245ac44491988413ceaed22e0 (diff) | |
download | pfsense-184a6cebbd1a27b55b61f1be4474df39470fb760.zip pfsense-184a6cebbd1a27b55b61f1be4474df39470fb760.tar.gz |
until 2.0.1 is tagged, Revert "Add a checkbox that disabled automatically generates negate rules for directly connected networks and VPNs"RELENG_2_0_1
This reverts commit 9ae39b01fb7dfd9c27091e3fae7e034e9e115519.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/filter.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc index 967991b..bcd9f4b 100644 --- a/etc/inc/filter.inc +++ b/etc/inc/filter.inc @@ -2045,7 +2045,7 @@ function filter_generate_user_rule($rule) { $line = ""; /* 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") && strstr($dst, "any")) && (!isset($config['system']['disablenegate']))) { + if(($aline['route'] <> "") && (trim($aline['type']) == "pass") && strstr($dst, "any")) { /* negate VPN/PPTP/PPPoE/Static Route networks for load balancer/gateway rules */ $negate_networks = " to <negate_networks> "; $line .= $aline['type'] . $aline['direction'] . $aline['log'] . $aline['quick'] . |