mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Updated format snmp port name function
This commit is contained in:
parent
2eac76d6a7
commit
4b46069727
11 changed files with 20 additions and 43 deletions
|
|
@ -819,7 +819,7 @@ local function dt_format_snmp_interface(interface, flow)
|
|||
local value = interface
|
||||
|
||||
if tostring(interface) ~= "0" and not isEmptyString(exporter) then
|
||||
label = format_portidx_name(exporter, tostring(interface), false, false)
|
||||
label = format_portidx_name(exporter, tostring(interface), true)
|
||||
value = exporter .. "_" .. tostring(interface)
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue