mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 00:19:33 +00:00
Fixes incorrect labels shown in the sflow charts
This commit is contained in:
parent
d4070206b1
commit
5de1fea07b
3 changed files with 8 additions and 8 deletions
|
|
@ -983,9 +983,9 @@ function driver:timeseries_top(options, top_tags)
|
|||
local ext_label = nil
|
||||
if cached_device then
|
||||
ext_label = snmp_utils.get_snmp_interface_label(cached_device["interfaces"][ifindex])
|
||||
if isEmptyString(ext_label) then
|
||||
ext_label = ifindex
|
||||
end
|
||||
end
|
||||
if isEmptyString(ext_label) then
|
||||
ext_label = ifindex
|
||||
end
|
||||
|
||||
count = table.len(available_series[top_item].data)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue