diff options
author | Martin Fuchs <mfuchs@pfsense.org> | 2007-10-29 23:50:30 +0000 |
---|---|---|
committer | Martin Fuchs <mfuchs@pfsense.org> | 2007-10-29 23:50:30 +0000 |
commit | 8ce4c10af01cf34b4ae00f5643b64d703a278abd (patch) | |
tree | b947fefc9e8e440c56a4a48ca10189e1d87225da /packages/squid/squid.inc | |
parent | 396c72a9a8d78301e34503f4a28e027e06045469 (diff) | |
download | pfsense-packages-8ce4c10af01cf34b4ae00f5643b64d703a278abd.tar.gz pfsense-packages-8ce4c10af01cf34b4ae00f5643b64d703a278abd.tar.bz2 pfsense-packages-8ce4c10af01cf34b4ae00f5643b64d703a278abd.zip |
squid: rename confusing var-name
Diffstat (limited to 'packages/squid/squid.inc')
-rw-r--r-- | packages/squid/squid.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/squid/squid.inc b/packages/squid/squid.inc index 22af123b..840bbf33 100644 --- a/packages/squid/squid.inc +++ b/packages/squid/squid.inc @@ -296,7 +296,7 @@ function squid_validate_general($post, $input_errors) { $input_errors[] = "You can not run squid on the same port as the webgui"; } - if (($post['transparent_proxy'] != 'on') && ($post['private_subnet_proxy'] == 'on')) { + if (($post['transparent_proxy'] != 'on') && ($post['private_subnet_proxy_off'] == 'on')) { $input_errors[] = "You can not disable forwarding traffic to private subnets to the proxy server without using the transparent proxy."; } @@ -1044,7 +1044,7 @@ function squid_generate_rules($type) { switch($type) { case 'nat': $rules .= "\n# Setup Squid proxy redirect\n"; - if ($squid_conf['private_subnet_proxy'] == 'on') { + if ($squid_conf['private_subnet_proxy_off'] == 'on') { foreach ($ifaces as $iface){ $rules .= "no rdr on $iface proto tcp from any to { 192.168.0.0/16, 172.16.0.0/12, 10.0.0.0/8 } port 80\n"; } |