diff options
author | Carsten Rosenberg <c.rosenberg@heinlein-support.de> | 2019-10-07 12:38:09 +0200 |
---|---|---|
committer | Carsten Rosenberg <c.rosenberg@heinlein-support.de> | 2019-10-07 12:38:09 +0200 |
commit | 4feb562db9d6ea7e1828f3d7b9903a5d499b9a35 (patch) | |
tree | dcf871b9b1b5c4e7897111f937ed64b5f188fea9 /lualib/lua_scanners/kaspersky_se.lua | |
parent | 55c857f4e94f4b7fc453238f81e4f56b56df52ae (diff) | |
download | rspamd-4feb562db9d6ea7e1828f3d7b9903a5d499b9a35.tar.gz rspamd-4feb562db9d6ea7e1828f3d7b9903a5d499b9a35.zip |
[Minor] lua_scanners - KAS SE fix port
Diffstat (limited to 'lualib/lua_scanners/kaspersky_se.lua')
-rw-r--r-- | lualib/lua_scanners/kaspersky_se.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lualib/lua_scanners/kaspersky_se.lua b/lualib/lua_scanners/kaspersky_se.lua index 50e55f3d4..098e33cdf 100644 --- a/lualib/lua_scanners/kaspersky_se.lua +++ b/lualib/lua_scanners/kaspersky_se.lua @@ -33,7 +33,7 @@ local function kaspersky_se_config(opts) local default_conf = { name = N, - default_port = 1234, + default_port = 9999, use_https = false, use_files = false, timeout = 5.0, @@ -99,10 +99,10 @@ local function kaspersky_se_check(task, content, digest, rule) end if rule.use_https then url = string.format('https://%s:%d%s', tostring(addr), - rule.default_port, suffix) + addr:get_port(), suffix) else url = string.format('http://%s:%d%s', tostring(addr), - rule.default_port, suffix) + addr:get_port(), suffix) end return url |