mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Use snmp aliases instead of name in case are available (#8921)
This commit is contained in:
parent
5c605200d2
commit
38023dd4f2
1 changed files with 1 additions and 1 deletions
|
|
@ -981,7 +981,7 @@ function format_portidx_name(device_ip, portidx, short_version, shorten_string)
|
|||
if (cached_dev == nil) then
|
||||
local snmp_cached_dev = require "snmp_cached_dev"
|
||||
|
||||
cached_dev = snmp_cached_dev:get_interface_names(device_ip)
|
||||
cached_dev = snmp_cached_dev:get_interfaces(device_ip)
|
||||
_snmp_devices[device_ip] = cached_dev
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue