diff options
author | Marcello Coutinho <marcellocoutinho@gmail.com> | 2012-07-03 11:49:22 -0300 |
---|---|---|
committer | Marcello Coutinho <marcellocoutinho@gmail.com> | 2012-07-03 11:49:22 -0300 |
commit | 33d59b6eae2a934250a0d7d53d3231d1d3702b81 (patch) | |
tree | 8aead0c4dab2281ffca9e8eedabcf70cb0ab3bcc /config/squid-reverse/squid.inc | |
parent | 95e44f068bf13b19861d5d82111e0610ce02840b (diff) | |
download | pfsense-packages-33d59b6eae2a934250a0d7d53d3231d1d3702b81.tar.gz pfsense-packages-33d59b6eae2a934250a0d7d53d3231d1d3702b81.tar.bz2 pfsense-packages-33d59b6eae2a934250a0d7d53d3231d1d3702b81.zip |
squid3 - fix unrestricted_auth check
Diffstat (limited to 'config/squid-reverse/squid.inc')
-rw-r--r-- | config/squid-reverse/squid.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/squid-reverse/squid.inc b/config/squid-reverse/squid.inc index 355a61f0..51e5892c 100644 --- a/config/squid-reverse/squid.inc +++ b/config/squid-reverse/squid.inc @@ -1239,7 +1239,7 @@ function squid_resync_auth() { // Unrestricted hosts take precedence over blacklist if(! empty($settingsnac['unrestricted_hosts'])) { - if (squid_is_valid_acl('unrestricted_hosts')) { + if (squid_is_valid_acl('unrestricted_hosts') && $settings['unrestricted_auth']!= "on") { $conf .= "# These hosts do not have any restrictions\n"; $conf .= "http_access allow unrestricted_hosts\n"; } |