Browse Source

[Minor] Fix spf record dump

tags/2.7
Vsevolod Stakhov 3 years ago
parent
commit
da36cc644b
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      lualib/rspamadm/dns_tool.lua

+ 2
- 0
lualib/rspamadm/dns_tool.lua View File

local result, flag_or_policy, error_or_addr local result, flag_or_policy, error_or_addr
if opts.ip then if opts.ip then
result, flag_or_policy, error_or_addr = record:check_ip(opts.ip) result, flag_or_policy, error_or_addr = record:check_ip(opts.ip)
elseif opts.all then
result = true
end end
if opts.ip and not opts.all then if opts.ip and not opts.all then
if result then if result then

Loading…
Cancel
Save