mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-03 01:10:10 +00:00
parent
5c8e247723
commit
27c1318ab6
5 changed files with 15 additions and 8 deletions
|
|
@ -154,7 +154,7 @@ function script.hooks.protocolDetected(now)
|
|||
|
||||
if handler and handler.handle_risk then
|
||||
-- Handler expect three params, namely flow-, client- and server-scores
|
||||
handler.handle_risk(table.unpack(risk2scores[risk_id] or DEFAULT_SCORES))
|
||||
handler.handle_risk(risk_id, table.unpack(risk2scores[risk_id] or DEFAULT_SCORES))
|
||||
end
|
||||
|
||||
::continue::
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue