Cleaned up code for displaying exporter and interfaceIds in flows page

This commit is contained in:
Luca Deri 2022-08-16 14:49:29 +02:00
parent ad2cff47af
commit 157f56ab3e
3 changed files with 50 additions and 49 deletions

View file

@ -5169,7 +5169,7 @@ function format_portidx_name(device_ip, portidx, short_version, shorten_string)
if shorten_string then
name = shortenString(name)
end
idx_name = string.format('%s [%s]', name, port_info["index"])
idx_name = string.format('%s', name);
else
idx_name = string.format('%s',
i18n("snmp.interface_device_2", {