Updated format snmp port name function

This commit is contained in:
Matteo Biscosi 2025-07-02 09:58:14 +02:00
parent 2eac76d6a7
commit 4b46069727
11 changed files with 20 additions and 43 deletions

View file

@ -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