aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@world.inf.org>2013-02-03 13:03:15 +0545
committerPhil Davis <phil.davis@world.inf.org>2013-02-03 13:03:15 +0545
commit73cfe34feb62fe702b98022c0232509838873c98 (patch)
tree3c523760d11f25e43bd97fa224d806224f84f69e
parent8a3eb08f2bbe70d8620b94e1a9b68950ab4d0a43 (diff)
downloadpfsense-packages-73cfe34feb62fe702b98022c0232509838873c98.tar.gz
pfsense-packages-73cfe34feb62fe702b98022c0232509838873c98.tar.bz2
pfsense-packages-73cfe34feb62fe702b98022c0232509838873c98.zip
Fix urlfilter_enable typo
I noticed this typo while looking at other code. I guess that when people have set the urlfilter_enable checkbox, it has not been actually implementing it all this time. Maybe nobody actually uses this option? The question is, what if someone has checked this box and now the code is fixed and it suddenly starts working? Will that make a problem for anyone? Also noticed a repeated unset command that I fixed up.
-rw-r--r--config/squid/squid_ng.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/squid/squid_ng.inc b/config/squid/squid_ng.inc
index 03f6d48c..cfd2fe66 100644
--- a/config/squid/squid_ng.inc
+++ b/config/squid/squid_ng.inc
@@ -47,7 +47,7 @@ function global_write_squid_config()
$active_interface = $config['installedpackages']['squid']['config'][0]['active_interface'];
$transparent_proxy = $config['installedpackages']['squid']['config'][0]['transparent_proxy'];
$log_enabled = $config['installedpackages']['squid']['config'][0]['log_enabled'];
- $urlfier_enable = $config['installedpackages']['squid']['config'][0]['urlfilter_enable'];
+ $urlfilter_enable = $config['installedpackages']['squid']['config'][0]['urlfilter_enable'];
$accesslog_disabled = $config['installedpackages']['squid']['config'][0]['accesslog_disabled'];
$log_query_terms = $config['installedpackages']['squid']['config'][0]['log_query_terms'];
$log_user_agents = $config['installedpackages']['squid']['config'][0]['log_user_agents'];
@@ -560,7 +560,7 @@ function global_write_squid_config()
$config_array[] = 'acl pf_banned_ip src "/usr/local/etc/squid/advanced/acls/src_banned_ip.acl"' . "\n";
}
- unset($banned_ip_addr);
+ unset($banned_ip_array);
unset($banned_ip_addr);
unset($ind_banned_ip);