www/c-icap: fix sizelimit (#306)

This commit is contained in:
Michael
2017-10-04 06:18:53 +02:00
committed by Franco Fichtner
parent d011e2c724
commit ef82e387a6
@@ -1,7 +1,7 @@
{% if helpers.exists('OPNsense.cicap.antivirus.enable_clamav') and OPNsense.cicap.antivirus.enable_clamav == '1' %}
Service antivirus_module virus_scan.so
ServiceAlias srv_clamav virus_scan
ServiceAlias avscan virus_scan?allow204=on&sizelimit=off&mode=simple
ServiceAlias avscan virus_scan?allow204=on&mode=simple
{% if helpers.exists('OPNsense.cicap.antivirus.scanfiletypes') and OPNsense.cicap.antivirus.scanfiletypes != '' %}
virus_scan.ScanFileTypes {{ OPNsense.cicap.antivirus.scanfiletypes.replace(',', ' ') }}