From b8a931eda4a0d90e7ebb92870c4eededd04825ab Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Thu, 25 Jul 2019 21:27:48 +0100 Subject: [PATCH] [Minor] Rbl: Allow to change monitored_address --- src/plugins/lua/rbl.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/lua/rbl.lua b/src/plugins/lua/rbl.lua index 70339fd85..677496fa8 100644 --- a/src/plugins/lua/rbl.lua +++ b/src/plugins/lua/rbl.lua @@ -530,6 +530,7 @@ local rule_schema = ts.shape({ hash = ts.one_of{"sha1", "sha256", "sha384", "sha512", "md5", "blake2"}:is_optional(), hash_format = ts.one_of{"hex", "base32", "base64"}:is_optional(), hash_len = (ts.integer + ts.string / tonumber):is_optional(), + monitored_address = ts.string:is_optional(), }, { extra_fields = ts.map_of(ts.string, ts.boolean) }) -- 2.39.5