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

@ -32,11 +32,11 @@ function script.hooks.all(now)
-- TODO some UDP protocols are inherently unidirectional (e.g. Netflow/sflow)
-- they should be excluded
flow.setStatus(flow_consts.status_types.status_udp_unidirectional.status_id,
flow.setStatus(flow_consts.status_types.status_udp_unidirectional,
5--[[ flow score]], 5--[[ cli score ]], 1--[[ srv score ]])
end
else
flow.clearStatus(flow_consts.status_types.status_udp_unidirectional.status_id)
flow.clearStatus(flow_consts.status_types.status_udp_unidirectional)
end
end