Allows top talkers generation to be enabled/disabled

This commit is contained in:
Simone Mainardi 2019-09-11 16:42:26 +02:00
parent 1a98a04cdf
commit f151fba989
14 changed files with 101 additions and 19 deletions

View file

@ -75,7 +75,7 @@ function getInterfaceName(interface_id, windows_skip_description)
if iface ~= nil then
if(windows_skip_description ~= true and string.contains(iface, "{")) then -- Windows
local old_iface = interface.getStats().id
local old_iface = interface.getId()
-- Use the interface description instead of the name
interface.select(tostring(iface))