mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Merge branch 'dev' of https://github.com/ntop/ntopng into dev
This commit is contained in:
commit
82850dcbb4
8 changed files with 223 additions and 90 deletions
|
|
@ -135,9 +135,10 @@ else -- a captive portal user is being added
|
|||
|
||||
]]
|
||||
|
||||
local pool_ids = host_pools_utils.listPools(getInterfaceId(ifname))
|
||||
for _, pool_id in pool_ids do
|
||||
print('<option value="'..pool_id..'"> '..host_pools_utils.getPoolName(getInterfaceId(ifname), pool_id)..'</option>')
|
||||
local pools = host_pools_utils.getPoolsList(getInterfaceId(ifname))
|
||||
|
||||
for _, pool in ipairs(pools) do
|
||||
print('<option value="'.. pool.id ..'"> '.. pool.name ..'</option>')
|
||||
end
|
||||
|
||||
print[[
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue