aboutsummaryrefslogtreecommitdiffstats
path: root/packages/squid3/squid.inc
diff options
context:
space:
mode:
authorMartin Fuchs <mfuchs@pfsense.org>2008-08-18 22:34:42 +0000
committerMartin Fuchs <mfuchs@pfsense.org>2008-08-18 22:34:42 +0000
commit4900cb1b954a55d25a386d2655465151020948d2 (patch)
tree5d180a57c0b1a98f319256c23e4dd74d2ab9d9cd /packages/squid3/squid.inc
parentb99fda3ba3070934b0d17d562d38a83fd4d5efd6 (diff)
downloadpfsense-packages-4900cb1b954a55d25a386d2655465151020948d2.tar.gz
pfsense-packages-4900cb1b954a55d25a386d2655465151020948d2.tar.bz2
pfsense-packages-4900cb1b954a55d25a386d2655465151020948d2.zip
squid suppress version
Diffstat (limited to 'packages/squid3/squid.inc')
-rw-r--r--packages/squid3/squid.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/squid3/squid.inc b/packages/squid3/squid.inc
index 2e646240..f2378a22 100644
--- a/packages/squid3/squid.inc
+++ b/packages/squid3/squid.inc
@@ -4,7 +4,6 @@
squid.inc
Copyright (C) 2006 Scott Ullrich
Copyright (C) 2006 Fernando Lemos
- Copyright (C) 2008 Martin Fuchs
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -561,6 +560,7 @@ EOD;
}
if ($settings['disable_xforward']) $conf .= "forwarded_for off\n";
if ($settings['disable_via']) $conf .= "via off\n";
+ if ($settings['disable_squidversion']) $conf .= "httpd_suppress_version_string on\n";
$conf .= "uri_whitespace {$settings['uri_whitespace']}\n";
if(!empty($settings['dns_nameservers'])) {