From 1c20c23d981caf8b424f681f8c2df68a67256c43 Mon Sep 17 00:00:00 2001 From: Cor Bosman Date: Fri, 20 Dec 2024 23:45:52 +0100 Subject: [Fix] connIP is not correctly added to request --- lualib/lua_scanners/cloudmark.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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() -- cgit v1.2.3