Removed debug messages

This commit is contained in:
Luca Deri 2021-05-26 23:56:19 +02:00
parent 9d448d20a7
commit 2589f3f8d8

View file

@ -28,13 +28,12 @@ function drop_host_pool_utils.check_pre_banned_hosts_to_add()
break
else
if(host_pool == nil) then host_pool = host_pools:create() end
io.write("Adding "..elem.." to pool ["..pools.DROP_HOST_POOL_NAME.."]\n")
-- io.write("Adding "..elem.." to pool ["..pools.DROP_HOST_POOL_NAME.."]\n")
host_pool:add_to_pool(pools.DROP_HOST_POOL_NAME, { elem }, { 0 } )
changed = true
end
end
changed = true
-- Read rules from configured pools and policies
-- and push rules to the nProbe listeners
if(changed) then