mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 00:19:33 +00:00
Added top flow exporter interfaces table and removed shortenstring from snmp
This commit is contained in:
parent
863e800ab6
commit
71092a11df
4 changed files with 4 additions and 4 deletions
|
|
@ -918,7 +918,7 @@ function driver:timeseries_top(options, top_tags)
|
|||
local ifindex = available_tags[top_item][1].if_index or available_tags[top_item][1].port
|
||||
local ext_label = nil
|
||||
if cached_device then
|
||||
ext_label = shortenString(snmp_utils.get_snmp_interface_label(cached_device["interfaces"][ifindex]), 32)
|
||||
ext_label = snmp_utils.get_snmp_interface_label(cached_device["interfaces"][ifindex])
|
||||
if isEmptyString(ext_label) then
|
||||
ext_label = ifindex
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue