Fixes shorten string on in/out exporter interface

This commit is contained in:
Matteo Biscosi 2024-03-18 10:03:34 -04:00
parent a27edb7c2d
commit 204590723c
2 changed files with 3 additions and 3 deletions

View file

@ -714,7 +714,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))
label = format_portidx_name(exporter, tostring(interface), false, false)
value = exporter .. "_" .. tostring(interface)
end