aboutsummaryrefslogtreecommitdiffstats
path: root/lualib
diff options
context:
space:
mode:
Diffstat (limited to 'lualib')
-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()