Reverts allowed interfaces fixes to make room for simplified code

This commit is contained in:
Simone Mainardi 2018-08-20 22:48:55 +02:00
parent 3f45eaabc3
commit dfb2401789
13 changed files with 212 additions and 155 deletions

View file

@ -447,9 +447,12 @@ end
function host_pools_utils.initPools()
for _, ifname in pairs(interface.getIfNames()) do
local ifid = getInterfaceId(ifname)
local ifstats = interface.getStats()
-- Note: possible shapers are initialized in shaper_utils::initShapers
initInterfacePools(ifid)
if not ifstats.isView then
initInterfacePools(ifid)
end
end
end