Fixes ScoreThreshold never releasing alerts

This commit is contained in:
Simone Mainardi 2021-10-13 15:54:08 +02:00
parent 9516df1bdf
commit 4c21d5cf76
2 changed files with 9 additions and 10 deletions

View file

@ -883,10 +883,6 @@ function hasTrafficReport()
return((not is_pcap_dump) and (ts_utils.getDriverName() == "rrd") and ntop.isEnterpriseM())
end
function mustScanAlerts(ifstats)
return areAlertsEnabled()
end
function hasAlertsDisabled()
_POST = _POST or {}
return ((_POST["disable_alerts_generation"] ~= nil) and (_POST["disable_alerts_generation"] == "1")) or