mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-03 09:20:10 +00:00
Fixes ICMP protocol shown twice in charts
This commit is contained in:
parent
48c0237916
commit
f1d578dd9d
1 changed files with 1 additions and 1 deletions
|
|
@ -463,7 +463,7 @@ local function _listSeries(schema, tags_filter, wildcard_tags, start_time, with_
|
|||
-- TODO remove after migration
|
||||
local value = v[1]
|
||||
|
||||
if ((wildcard_tag ~= "protocol") or (with_l4 and l4_keys[value] ~= nil) or (interface.getnDPIProtoId(value) ~= -1)) and
|
||||
if ((wildcard_tag ~= "protocol") or (with_l4 and l4_keys[value] ~= nil) or ((l4_keys[value] == nil) and (interface.getnDPIProtoId(value) ~= -1))) and
|
||||
((wildcard_tag ~= "category") or (interface.getnDPICategoryId(value) ~= -1)) then
|
||||
res[#res + 1] = table.merge(tags_filter, {[wildcard_tag] = value})
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue