diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-12-06 18:02:45 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-12-06 18:02:45 +0000 |
commit | 6dc4448d1430c625100053ccb6cdefa98fe894fe (patch) | |
tree | a9162dae977f06d3fcba1f5f2e4ee8c9b70c74d9 | |
parent | 2b3d75925a9cc6a79ba75ae0d5aa9909e205a086 (diff) | |
download | rspamd-6dc4448d1430c625100053ccb6cdefa98fe894fe.tar.gz rspamd-6dc4448d1430c625100053ccb6cdefa98fe894fe.zip |
[Minor] Treat flags properly in dns tool
-rw-r--r-- | lualib/rspamadm/dns_tool.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lualib/rspamadm/dns_tool.lua b/lualib/rspamadm/dns_tool.lua index 24a8fecf8..f45f4a4a3 100644 --- a/lualib/rspamadm/dns_tool.lua +++ b/lualib/rspamadm/dns_tool.lua @@ -183,7 +183,7 @@ local function spf_handler(opts) end else printf('Error getting SPF record: %s (%s flag)', err, - flag_to_str(flag_or_policy)) + flag_to_str(flag_or_policy or flags)) end else printf('Cannot get SPF record: %s', err) |