Enabled blacklist host detection (via EmerginThreats)

This commit is contained in:
Luca Deri 2016-12-12 19:40:42 +01:00
parent d1d94d8a5e
commit 6db2d2026e
2 changed files with 3 additions and 4 deletions

View file

@ -31,7 +31,7 @@ end
function loadHostBlackList()
local bl = ntop.getCache("ntopng.prefs.host_blacklist")
if(bl == "enabled") then
if((bl == "1") or (bl == "enabled")) then
ntop.allocHostBlacklist()
for _,url in pairs(blacklistURLs) do