diff options
author | Cor Bosman <cor@xs4all.net> | 2024-12-20 23:45:52 +0100 |
---|---|---|
committer | Cor Bosman <cor@xs4all.net> | 2024-12-20 23:45:52 +0100 |
commit | 1c20c23d981caf8b424f681f8c2df68a67256c43 (patch) | |
tree | 9bb1ee5a4b6edcfc1f8436a1714682ab6967453c | |
parent | bc674074a56e77061c3d97d12c2784e0b8d96231 (diff) | |
download | rspamd-1c20c23d981caf8b424f681f8c2df68a67256c43.tar.gz rspamd-1c20c23d981caf8b424f681f8c2df68a67256c43.zip |
[Fix] connIP is not correctly added to request
-rw-r--r-- | lualib/lua_scanners/cloudmark.lua | 4 |
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() |