mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 00:40:10 +00:00
Fixes load of alerts under Windows
This commit is contained in:
parent
2dc9698ffd
commit
91b533a625
1 changed files with 2 additions and 2 deletions
|
|
@ -387,9 +387,9 @@ function loadDefinition(def_script, mod_fname, script_path)
|
|||
end
|
||||
|
||||
local alert_entity
|
||||
if script_path:ends("/flow") then
|
||||
if script_path:ends(os_utils.fixPath("/flow")) then
|
||||
alert_entity = alert_entities.flow
|
||||
elseif script_path:ends("/host") then
|
||||
elseif script_path:ends(os_utils.fixPath("/host")) then
|
||||
alert_entity = alert_entities.host
|
||||
else
|
||||
-- TODO: migrate all. currently assumes other for non-flow non-host
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue