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
|
|
@ -172,7 +172,7 @@ local function build_interface_exporter(criteria, tot_bytes_exp_if, exporter_nod
|
|||
(criteria == traffic_criteria.TOTAL and (data.rcvd + data.sent) > 0) then
|
||||
--tprint(n_id .. " " .. criteria .. " " .. data.sent .. " " .. data.rcvd)
|
||||
local exporter_ip = getProbeName(data.exporter_ip)
|
||||
local port_index = format_portidx_name(data.exporter_ip, data.port_index) or "?"
|
||||
local port_index = format_portidx_name(data.exporter_ip, data.port_index, true) or "?"
|
||||
local exporter_node_id = find_node_id(exporter_ip)
|
||||
local port_node_id = find_node_id(n_id)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue