mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 07:59:35 +00:00
Fixes ndpi protocol id issues
This commit is contained in:
parent
af95cd7ff0
commit
30fc1d7976
4 changed files with 6 additions and 6 deletions
|
|
@ -794,8 +794,8 @@ function driver:listSeries(schema, tags_filter, wildcard_tags, start_time, not_p
|
|||
toadd = true
|
||||
end
|
||||
elseif ((wildcard_tag ~= "protocol") or
|
||||
((L4_PROTO_KEYS[value] == nil) and (interface.getnDPIProtoId(value) ~= -1))) and
|
||||
((wildcard_tag ~= "category") or (interface.getnDPICategoryId(value) ~= -1)) then
|
||||
((L4_PROTO_KEYS[value] == nil) and (interface.getnDPIProtoId(value) ~= -1) and interface.getnDPIProtoId(value) ~= 0))
|
||||
and ((wildcard_tag ~= "category") or (interface.getnDPICategoryId(value) ~= -1)) then
|
||||
toadd = true
|
||||
end
|
||||
|
||||
|
|
@ -1106,7 +1106,6 @@ end
|
|||
|
||||
function driver:queryTotal(schema, tstart, tend, tags, options)
|
||||
local rrdfile = driver.schema_get_full_path(schema, tags)
|
||||
|
||||
if not rrdfile or not ntop.notEmptyFile(rrdfile) then
|
||||
return nil
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue