Handle LUSCA squid version

This commit is contained in:
Jamie Cameron
2013-04-23 20:16:44 -07:00
parent 7a95086e40
commit 270041b342

View File

@@ -31,6 +31,10 @@ if (!-r $config{'squid_conf'}) {
# Check the version number
$fullver = $ver = &backquote_command("$config{'squid_path'} -v 2>&1");
if ($ver =~ /LUSCA/) {
# Special Squid variant, actually equivalent to 2.7
$ver = "Squid Cache: Version 2.7.STABLE.LUSCA.2012";
}
if ($ver =~ /version\s+(\S+)/i) {
$ver = $1;
}