Fixed alerts error

This commit is contained in:
Matteo Biscosi 2020-12-23 12:03:14 +01:00
parent 101c53336e
commit 1ca83df1b7
2 changed files with 4 additions and 7 deletions

View file

@ -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
)