Refresh blacklist rules when blacklist alert preference changes

This commit is contained in:
emanuele-f 2017-01-12 10:44:20 +01:00 committed by Simone Mainardi
parent 2141004cc6
commit c40075486f
2 changed files with 14 additions and 4 deletions

View file

@ -696,4 +696,8 @@ if(_GET["disable_alerts_generation"] ~= nil) then
ntop.reloadPreferences()
end
if(_GET["toggle_malware_probing"] ~= nil) then
loadHostBlackList(true --[[ force the reload of the list ]])
end
end --[[ haveAdminPrivileges ]]