Skip to content

Commit

Permalink
[Minor] Rspamadm: Imply --all if no --ip has been specified
Browse files Browse the repository at this point in the history
  • Loading branch information
vstakhov committed Feb 1, 2021
1 parent 0effbd0 commit 279772c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lualib/rspamadm/dns_tool.lua
Expand Up @@ -95,6 +95,8 @@ local function spf_handler(opts)
if opts.ip then
opts.ip = rspamd_ip.fromstring(opts.ip)
task:set_from_ip(opts.ip)
else
opts.all = true
end

if opts.from then
Expand Down

0 comments on commit 279772c

Please sign in to comment.