mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Printing as standard message bad domain occurrences in imported lists
This commit is contained in:
parent
9c34c91f4f
commit
3e2a1943c1
1 changed files with 1 additions and 1 deletions
|
|
@ -508,7 +508,7 @@ local function loadListItem(host, category, user_custom_categories, list)
|
|||
-- Domain
|
||||
if((not list) or (list.format ~= "ip")) then
|
||||
if((string.len(host) < 4) or (string.find(host, "%.") == nil)) then
|
||||
traceError(TRACE_WARNING, TRACE_CONSOLE, string.format("Bad domain name '%s' in list '%s'", host, list and list.name))
|
||||
traceError(TRACE_NORMAL, TRACE_CONSOLE, string.format("Bad domain name '%s' in list '%s'", host, list and list.name))
|
||||
else
|
||||
ntop.loadCustomCategoryHost(host, category)
|
||||
return "domain"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue