commit 6dc4448: [Minor] Treat flags properly in dns tool
Vsevolod Stakhov
vsevolod at highsecure.ru
Fri Dec 6 18:07:10 UTC 2019
Author: Vsevolod Stakhov
Date: 2019-12-06 18:02:45 +0000
URL: https://github.com/rspamd/rspamd/commit/6dc4448d1430c625100053ccb6cdefa98fe894fe (HEAD -> master)
[Minor] Treat flags properly in dns tool
---
lualib/rspamadm/dns_tool.lua | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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)
More information about the Commits
mailing list