mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Reverts allowed interfaces fixes to make room for simplified code
This commit is contained in:
parent
3f45eaabc3
commit
dfb2401789
13 changed files with 212 additions and 155 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue