mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Implements global host pools
Implements #4086 Refactors host pools to global Implements host pools migration Migration fixes nEdge changes for host pools migration Create README.host_pools_migration.md
This commit is contained in:
parent
a03c2158d8
commit
5ade224d85
34 changed files with 1056 additions and 229 deletions
|
|
@ -19,7 +19,7 @@ local host_pools_utils = nil
|
|||
local pool_names = nil
|
||||
if captivePortal then
|
||||
local host_pools_utils = require "host_pools_utils"
|
||||
local names = host_pools_utils.getPoolsList(getInterfaceId(ifname), false)
|
||||
local names = host_pools_utils.getPoolsList(false)
|
||||
pool_names = {}
|
||||
for _, p in pairs(names) do
|
||||
pool_names[tonumber(p["id"])] = p["name"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue