aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2024-12-21 21:14:05 +0600
committerGitHub <noreply@github.com>2024-12-21 21:14:05 +0600
commitfd7b5398b27ac0c52ba0f698a5a74550c6bdcbdb (patch)
tree9bb1ee5a4b6edcfc1f8436a1714682ab6967453c
parentbc674074a56e77061c3d97d12c2784e0b8d96231 (diff)
parent1c20c23d981caf8b424f681f8c2df68a67256c43 (diff)
downloadrspamd-master.tar.gz
rspamd-master.zip
Merge pull request #5268 from corbosman/masterHEADmaster
[Fix] connIp is not correctly added to request
-rw-r--r--lualib/lua_scanners/cloudmark.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/lualib/lua_scanners/cloudmark.lua b/lualib/lua_scanners/cloudmark.lua
index cb55a3bbf..ccb45b047 100644
--- a/lualib/lua_scanners/cloudmark.lua
+++ b/lualib/lua_scanners/cloudmark.lua
@@ -345,7 +345,9 @@ local function cloudmark_check(task, content, digest, rule, maybe_part)
local fip = task:get_from_ip()
if fip and fip:is_valid() then
- request['connIp'] = tostring(fip)
+ request['connIp'] = {
+ data = tostring(fip)
+ }
end
local hostname = task:get_hostname()