Hides status_id from flow.{trigger,set,clear}Status

Fixes #3266
This commit is contained in:
Simone Mainardi 2020-01-21 12:27:30 +01:00
parent fcdc69963f
commit 1cbdbbd339
11 changed files with 19 additions and 16 deletions

View file

@ -21,7 +21,7 @@ local script = {
function script.hooks.protocolDetected(now)
if(flow.getnDPICategoryName() == "Mining") then
flow.triggerStatus(flow_consts.status_types.status_web_mining_detected.status_id,
flow.triggerStatus(flow_consts.status_types.status_web_mining_detected,
50--[[ flow score]], 50--[[ cli score ]], 10--[[ srv score ]])
end
end