commit 279772c: [Minor] Rspamadm: Imply --all if no --ip has been specified
Vsevolod Stakhov
vsevolod at highsecure.ru
Mon Feb 1 17:21:06 UTC 2021
Author: Vsevolod Stakhov
Date: 2021-02-01 17:19:19 +0000
URL: https://github.com/rspamd/rspamd/commit/279772c1aa1c2e8b531fc79165951320d688242a (HEAD -> master)
[Minor] Rspamadm: Imply --all if no --ip has been specified
---
lualib/rspamadm/dns_tool.lua | 2 ++
1 file changed, 2 insertions(+)
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
More information about the Commits
mailing list