mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Added check for old queued messages
This commit is contained in:
parent
75ff3d8908
commit
9893a62174
2 changed files with 33 additions and 28 deletions
|
|
@ -683,6 +683,8 @@ function alertLevel(v)
|
|||
end
|
||||
|
||||
function alertTypeRaw(alert_idx)
|
||||
if(alert_idx == nil) then return nil end
|
||||
|
||||
alert_idx = alert_idx + 2 -- -1 and 0
|
||||
if alert_idx <= #alert_type_keys then
|
||||
return alert_type_keys[alert_idx][3]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue