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

@ -109,8 +109,11 @@ function getProbeName(exporter_ip, show_vlan, shorten_len, show_ip_and_alias)
if(not isEmptyString(ret)) then
return(ret)
end
else
return(exporter_ip)
end
-- DEAD CODE
local cached_device_name
local snmp_cached_dev
local probe_alias = probes_names[exporter_ip]