mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 07:59:35 +00:00
Implemented handlig of hello message from nprobe
This commit is contained in:
parent
07b242a648
commit
4c27f6f98c
8 changed files with 69 additions and 46 deletions
|
|
@ -185,11 +185,8 @@ function pools_rest_utils.bind_member(pools)
|
|||
if old_pool_name == pools.DROP_HOST_POOL_NAME and ntop.isPro() then
|
||||
package.path = dirs.installdir .. "/pro/scripts/lua/modules/?.lua;" .. package.path
|
||||
local policy_utils = require "policy_utils"
|
||||
|
||||
local rsp = policy_utils.get_ips_rules()
|
||||
if(rsp ~= nil) then
|
||||
ntop.broadcastIPSMessage(rsp)
|
||||
end
|
||||
|
||||
policy_utils.broadcast_ips_rules()
|
||||
end
|
||||
else
|
||||
-- Bind the member only if it is not already in another pool
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue