diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-02-01 17:19:19 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-02-01 17:19:19 +0000 |
commit | 279772c1aa1c2e8b531fc79165951320d688242a (patch) | |
tree | f141f153441e02dc06bed34d6097c17aa8076359 /lualib/rspamadm/dns_tool.lua | |
parent | 0effbd0b4d9dd5b7a7ad888968cea07a2566670f (diff) | |
download | rspamd-279772c1aa1c2e8b531fc79165951320d688242a.tar.gz rspamd-279772c1aa1c2e8b531fc79165951320d688242a.zip |
[Minor] Rspamadm: Imply --all if no --ip has been specified
Diffstat (limited to 'lualib/rspamadm/dns_tool.lua')
-rw-r--r-- | lualib/rspamadm/dns_tool.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lualib/rspamadm/dns_tool.lua b/lualib/rspamadm/dns_tool.lua index 8a4825563..0bdb0a722 100644 --- a/lualib/rspamadm/dns_tool.lua +++ b/lualib/rspamadm/dns_tool.lua @@ -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 |