summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2008-01-21 22:40:50 +0000
committerErmal Luçi <eri@pfsense.org>2008-01-21 22:40:50 +0000
commite7abb4184a728ee780ec7478cdc890b97fe2e456 (patch)
tree090d37f83c3c11606050eff10549f938521168f6 /etc
parent26dfbf80918271950985034bc143d524dee9505c (diff)
downloadpfsense-e7abb4184a728ee780ec7478cdc890b97fe2e456.zip
pfsense-e7abb4184a728ee780ec7478cdc890b97fe2e456.tar.gz
Remove a duplicated entry slipped in accidentally.
Remove uneeded check on default policy.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/filter.inc9
1 files changed, 0 insertions, 9 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index ffd7d32..af982d5 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -2244,11 +2244,6 @@ function filter_rules_generate() {
$optcfg = array();
generate_optcfg_array($optcfg);
- if (is_package_installed('squid') && file_exists('/usr/local/pkg/squid.inc')) {
- require_once('squid.inc');
- $ipfrules .= squid_generate_rules('filter');
- }
-
if (is_package_installed('clamav') && file_exists('/usr/local/pkg/clamav.inc')) {
require_once('clamav.inc');
$ipfrules .= clamav_generate_rules('filter');
@@ -2455,8 +2450,6 @@ pass proto icmp from {$wanip} to any keep state
EOD;
-if (!is_array($config['shaper']['queue']) && count($config['shaper']['queue']) < 1) {
-
$ipfrules .= <<<EOD
# let out anything from the firewall host itself and decrypted IPsec traffic
@@ -2466,8 +2459,6 @@ pass out on \$lan proto icmp keep state label "let out anything from firewall ho
EOD;
-}
-
$ipfrules .= create_firewall_outgoing_rules_to_itself();
if($config['interfaces']['wan']['ipaddr'] == "pppoe")
OpenPOWER on IntegriCloud