mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-05 19:15:03 +00:00
Improvements to reduce un-necessary data returned to lua from C++
This commit is contained in:
parent
a497434a41
commit
8dc4561faf
12 changed files with 370 additions and 388 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue