mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 00:19:33 +00:00
Fixed alerts error
This commit is contained in:
parent
101c53336e
commit
1ca83df1b7
2 changed files with 4 additions and 7 deletions
|
|
@ -70,7 +70,7 @@ local function check_allowed_mac(params)
|
|||
|
||||
-- Check if the new mac address is expected or not
|
||||
if not mac_list[mac] then
|
||||
local alert = alert_consts.alert_types.alert_unexpected_new_device.create(
|
||||
local alert = alert_consts.alert_types.alert_unexpected_new_device.new(
|
||||
device,
|
||||
mac
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue