mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-03 17:30:11 +00:00
Fixes exporter ip not converted correctly
This commit is contained in:
parent
6fa1473fab
commit
402e33ee44
2 changed files with 7 additions and 0 deletions
|
|
@ -989,6 +989,9 @@ function format_portidx_name(device_ip, portidx, short_version)
|
|||
|
||||
-- SNMP is available only with Pro version at least
|
||||
if ntop.isPro() then
|
||||
if tonumber(device_ip) then
|
||||
device_ip = ntop.inet_ntoa(device_ip)
|
||||
end
|
||||
local cached_dev = _snmp_devices[device_ip]
|
||||
|
||||
if (cached_dev == nil) then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue