aboutsummaryrefslogtreecommitdiffstats
path: root/packages/squid/squid.inc
diff options
context:
space:
mode:
authorMartin Fuchs <mfuchs@pfsense.org>2007-07-17 21:43:19 +0000
committerMartin Fuchs <mfuchs@pfsense.org>2007-07-17 21:43:19 +0000
commit19e16e574a95061bfd180005d1ecaa1fcbf7d2e0 (patch)
tree484c68b6bc735375ff8ac301be1bfb0ab01898b3 /packages/squid/squid.inc
parentcf931fe9afa0663dae156abc0e81749984463492 (diff)
downloadpfsense-packages-19e16e574a95061bfd180005d1ecaa1fcbf7d2e0.tar.gz
pfsense-packages-19e16e574a95061bfd180005d1ecaa1fcbf7d2e0.tar.bz2
pfsense-packages-19e16e574a95061bfd180005d1ecaa1fcbf7d2e0.zip
Add option to disable VIA-header in squid-package
Diffstat (limited to 'packages/squid/squid.inc')
-rw-r--r--packages/squid/squid.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/squid/squid.inc b/packages/squid/squid.inc
index 9f3790e6..147daf16 100644
--- a/packages/squid/squid.inc
+++ b/packages/squid/squid.inc
@@ -504,6 +504,7 @@ EOD;
$valid_acls[] = 'localnet';
}
if ($settings['disable_xforward']) $conf .= "forwarded_for off\n";
+ if ($settings['disable_via']) $conf .= "via off\n";
return $conf;
}