mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 16:30:10 +00:00
Excluded jailed host from radius update
This commit is contained in:
parent
53d7395b25
commit
daeeb96336
1 changed files with 2 additions and 2 deletions
|
|
@ -12,7 +12,7 @@ if radius_handler.isAccountingEnabled() then
|
|||
-- Import only if radius is enabled, otherwise it's a waste of memory
|
||||
require "lua_utils"
|
||||
local host_pools = require "host_pools"
|
||||
|
||||
|
||||
-- Instantiate host pools
|
||||
local pool = host_pools:create()
|
||||
local pools_list = {}
|
||||
|
|
@ -27,7 +27,7 @@ if radius_handler.isAccountingEnabled() then
|
|||
interface.select(tostring(interface.getFirstInterfaceId()))
|
||||
|
||||
for _, pool_info in pairs(pools_list) do
|
||||
if pool_info.id ~= host_pools.DEFAULT_POOL_ID then
|
||||
if pool_info.id ~= host_pools.DEFAULT_POOL_ID and pool_info.id ~= host_pools.DROP_HOST_POOL_ID then
|
||||
local members = pool_info.members
|
||||
|
||||
for _, member in pairs(members) do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue