mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Display sym name for SMNP filters in historical flows (#6817)
This commit is contained in:
parent
8d336a88ae
commit
ad2cff47af
3 changed files with 24 additions and 13 deletions
|
|
@ -5171,7 +5171,12 @@ function format_portidx_name(device_ip, portidx, short_version, shorten_string)
|
|||
end
|
||||
idx_name = string.format('%s [%s]', name, port_info["index"])
|
||||
else
|
||||
idx_name = string.format('%s', i18n("snmp.interface_device_2", {interface=snmp_location.snmp_port_link(port_info, true), device=snmp_location.snmp_device_link(cached_dev["host_ip"])}))
|
||||
idx_name = string.format('%s',
|
||||
i18n("snmp.interface_device_2", {
|
||||
interface=snmp_location.snmp_port_link(port_info, true),
|
||||
device=snmp_location.snmp_device_link(cached_dev["host_ip"])
|
||||
})
|
||||
)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue