Improvements to reduce un-necessary data returned to lua from C++

This commit is contained in:
Luca Deri 2025-10-24 15:18:06 +02:00
parent a497434a41
commit 8dc4561faf
12 changed files with 370 additions and 388 deletions

View file

@ -983,7 +983,9 @@ function generateExporterInterfaceLink(ip, interface)
local exporter_uuid = nil
local exporter_ifid = nil
if tonumber(ip) then ip = ntop.inet_ntoa(ip) end
exporter_uuid, exporter_ifid = exporters_utils.getExporterUUID(ip)
return string.format(
"%s/lua/pro/enterprise/flowdevice_interface_details.lua?ip=%s&snmp_port_idx=%s&ifid=%s",
ntop.getHttpPrefix(), ip, interface, exporter_ifid)