Fixes discovery for loopback interfaces

This commit is contained in:
Simone Mainardi 2019-12-17 14:27:35 +01:00
parent 893350653b
commit fdba617b0d
7 changed files with 20 additions and 13 deletions

View file

@ -23,7 +23,7 @@ end
dofile(dirs.installdir .. "/scripts/lua/inc/menu.lua")
local ifstats = interface.getStats()
local is_loopback = isLoopback(ifname)
local is_loopback = interface.isLoopback(),
local iface_id = interface.name2id(ifname)
-- Load from or set in redis the refresh frequency for the top talkers heatmap