Browse Source

Merge pull request #5268 from corbosman/master

[Fix] connIp is not correctly added to request
pull/5269/head
Vsevolod Stakhov 11 months ago
committed by GitHub
parent
commit
fd7b5398b2
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      lualib/lua_scanners/cloudmark.lua

4
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()

Loading…
Cancel
Save