mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-05 10:41:34 +00:00
Fixes flow alerts table column width and description
This commit is contained in:
parent
4f0ac39efe
commit
39d3618351
8 changed files with 17 additions and 12 deletions
|
|
@ -23,6 +23,10 @@ local handler = {}
|
|||
function handler.handle_risk(risk_id, flow_score, cli_score, srv_score)
|
||||
-- Set a flow status for the generic flow_risk. This will also
|
||||
-- cause an alert to be generated.
|
||||
if risk_id == 0 then
|
||||
return
|
||||
end
|
||||
|
||||
local alert = alert_consts.alert_types.alert_flow_risk.new(
|
||||
risk_id
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue