mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 17:00:10 +00:00
Fixes check logic
This commit is contained in:
parent
5aa7b97243
commit
f7ed321a5d
1 changed files with 1 additions and 1 deletions
|
|
@ -289,7 +289,7 @@ end
|
|||
function asset_utils.insertHost(entry, version, ifid)
|
||||
local query = nil
|
||||
entry = updateData(entry, ifid, "host")
|
||||
if not isIPv4(entry["ip"]) or not isIPv6(entry["ip"]) then
|
||||
if not isIPv4(entry["ip"]) and not isIPv6(entry["ip"]) then
|
||||
traceError(TRACE_ERROR, TRACE_CONSOLE, "Detected Asset without IP Address:\n")
|
||||
tprint(entry)
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue