commit 4feb562: [Minor] lua_scanners - KAS SE fix port
Carsten Rosenberg
c.rosenberg at heinlein-support.de
Mon Oct 7 10:56:06 UTC 2019
Author: Carsten Rosenberg
Date: 2019-10-07 12:38:09 +0200
URL: https://github.com/rspamd/rspamd/commit/4feb562db9d6ea7e1828f3d7b9903a5d499b9a35 (refs/pull/3067/head)
[Minor] lua_scanners - KAS SE fix port
---
lualib/lua_scanners/kaspersky_se.lua | 6 +++---
1 file 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
More information about the Commits
mailing list