mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Fixes incorrect check on blacklists
This commit is contained in:
parent
e09a7b96c6
commit
966969c536
1 changed files with 1 additions and 1 deletions
|
|
@ -521,7 +521,7 @@ local function loadListItem(host, category, user_custom_categories, list, num_li
|
|||
loadWarning(string.format("Unsupported IPv6 address '%s' found in list '%s'", host, list.name))
|
||||
else
|
||||
-- Domain
|
||||
if((not list) or (list.format ~= "ip")) then
|
||||
if(list and list.format ~= "ip") then
|
||||
if not ntop.loadCustomCategoryHost(host, category, list.name) then
|
||||
loadWarning(string.format("Failure loading host '%s' category '%s' in list '%s'", host, category, list.name))
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue