Changes to handle the DNS exclusion list

This commit is contained in:
emanuele-f 2020-01-24 15:17:42 +01:00
parent eb5f79f935
commit 50ca1b455a
4 changed files with 21 additions and 8 deletions

View file

@ -1043,6 +1043,9 @@ local function validateListItems(script, conf)
elseif(item_type == "proto_or_category") then
item_validator = validateProtocolOrCategory
err_label = "Bad protocol/category"
elseif(item_type == "string") then
item_validator = validateSingleWord
err_label = "Bad string"
end
if(type(conf.items) == "table") then