mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Using get_interface instead of SNMP create
This commit is contained in:
parent
910ef39fee
commit
cb28a33dcd
1 changed files with 1 additions and 1 deletions
|
|
@ -5138,7 +5138,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:create(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