aboutsummaryrefslogtreecommitdiffstats
path: root/config/havp
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2014-12-26 10:35:11 -0200
committerRenato Botelho <garga@FreeBSD.org>2014-12-26 10:35:11 -0200
commitfe14683d27d3bdb3d02f29fa1db7dc035c000e4c (patch)
tree7129513ebce9594a37bf4e38c8d64f5f6cc45966 /config/havp
parentcf67c60a8c13f47313e2a86ed7451501d600d71a (diff)
parente35b8e2cddab228f43f588b5aa9a7236757452dc (diff)
downloadpfsense-packages-fe14683d27d3bdb3d02f29fa1db7dc035c000e4c.tar.gz
pfsense-packages-fe14683d27d3bdb3d02f29fa1db7dc035c000e4c.tar.bz2
pfsense-packages-fe14683d27d3bdb3d02f29fa1db7dc035c000e4c.zip
Merge pull request #757 from SunStroke74/patch-3
Diffstat (limited to 'config/havp')
-rw-r--r--config/havp/havp.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/havp/havp.inc b/config/havp/havp.inc
index f6e37a3b..08937a2f 100644
--- a/config/havp/havp.inc
+++ b/config/havp/havp.inc
@@ -1702,7 +1702,7 @@ function havp_get_av_viruslog()
$log = explode("\n", $log);
$count = 0;
foreach($log as $ln) {
- if (substr_count(strtolower($ln), "virus clamd:"))
+ if (substr_count(strtolower($ln), "virus clam"))
$s[] = $ln;
}
}
@@ -1716,7 +1716,7 @@ function havp_get_av_statistic()
if (file_exists(HVDEF_HAVP_ACCESSLOG)) {
$log = file_get_contents(HVDEF_HAVP_ACCESSLOG);
- $count = substr_count(strtolower($log), "virus clamd:");
+ $count = substr_count(strtolower($log), "virus clam");
$s = "Found $count viruses (total).";
}