Browse Source

[Minor] Treat flags properly in dns tool

tags/2.3
Vsevolod Stakhov 4 years ago
parent
commit
6dc4448d14
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      lualib/rspamadm/dns_tool.lua

+ 1
- 1
lualib/rspamadm/dns_tool.lua View File

@@ -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)

Loading…
Cancel
Save