aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/squid/squid.inc2
-rw-r--r--packages/squid3/squid.inc2
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/squid/squid.inc b/packages/squid/squid.inc
index 3a4369ba..2f7f652a 100644
--- a/packages/squid/squid.inc
+++ b/packages/squid/squid.inc
@@ -1227,7 +1227,7 @@ function squid_generate_rules($type) {
}
if (!empty($squid_conf['defined_ip_proxy_off'])) {
- $defined_ip_proxy_off = explode(";", $config['installedpackages']['squid']['config'][0]['defined_ip_proxy_off']);
+ $defined_ip_proxy_off = explode(";", $squid_conf['defined_ip_proxy_off']);
$exempt_ip = "";
foreach ($defined_ip_proxy_off as $ip_proxy_off) {
if(!empty($ip_proxy_off)) {
diff --git a/packages/squid3/squid.inc b/packages/squid3/squid.inc
index 1f3b5f7e..e4cb082c 100644
--- a/packages/squid3/squid.inc
+++ b/packages/squid3/squid.inc
@@ -1228,7 +1228,7 @@ function squid_generate_rules($type) {
}
if (!empty($squid_conf['defined_ip_proxy_off'])) {
- $defined_ip_proxy_off = explode(";", $config['installedpackages']['squid']['config'][0]['defined_ip_proxy_off']);
+ $defined_ip_proxy_off = explode(";", $squid_conf['defined_ip_proxy_off']);
$exempt_ip = "";
foreach ($defined_ip_proxy_off as $ip_proxy_off) {
if(!empty($ip_proxy_off)) {