mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49: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
|
|
@ -305,13 +305,13 @@ for _key, value in ipairs(flows_stats) do -- pairsByValues(vals, funct) do
|
|||
local device_ip = value["device_ip"]
|
||||
|
||||
local idx_name_in = i18n("span_with_title", {
|
||||
shorten_name = format_portidx_name(device_ip, value["in_index"], true, true),
|
||||
shorten_name = format_portidx_name(device_ip, value["in_index"], true),
|
||||
url = ntop.getHttpPrefix() .. '/lua/pro/enterprise/flowdevice_details.lua?ip=' .. value["device_ip"] ..
|
||||
'&snmp_port_idx=' .. value["in_index"]
|
||||
})
|
||||
|
||||
local idx_name_out = i18n("span_with_title", {
|
||||
shorten_name = format_portidx_name(device_ip, value["out_index"], true, true),
|
||||
shorten_name = format_portidx_name(device_ip, value["out_index"], true),
|
||||
url = ntop.getHttpPrefix() .. '/lua/pro/enterprise/flowdevice_details.lua?ip=' .. value["device_ip"] ..
|
||||
'&snmp_port_idx=' .. value["out_index"]
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue