diff options
author | Renato Botelho <garga@FreeBSD.org> | 2014-12-26 10:35:11 -0200 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2014-12-26 10:35:11 -0200 |
commit | fe14683d27d3bdb3d02f29fa1db7dc035c000e4c (patch) | |
tree | 7129513ebce9594a37bf4e38c8d64f5f6cc45966 /config | |
parent | cf67c60a8c13f47313e2a86ed7451501d600d71a (diff) | |
parent | e35b8e2cddab228f43f588b5aa9a7236757452dc (diff) | |
download | pfsense-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')
-rw-r--r-- | config/havp/havp.inc | 4 |
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)."; } |