mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Refactors alert_severities into an independend Lua module
This commit is contained in:
parent
e683509dec
commit
b3dc39c641
109 changed files with 317 additions and 264 deletions
|
|
@ -8,7 +8,7 @@ local alert_creators = require "alert_creators"
|
|||
-- #######################################################
|
||||
|
||||
-- @brief Prepare an alert table used to generate the alert
|
||||
-- @param alert_severity A severity as defined in `alert_consts.alert_severities`
|
||||
-- @param alert_severity A severity as defined in `alert_severities`
|
||||
-- @param device The a string with the name or ip address of the device that connected the network
|
||||
-- @return A table with the alert built
|
||||
local function createDeviceConnection(alert_severity, device)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue