aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/clickhouse.lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-08-02 18:22:07 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-08-02 18:22:07 +0100
commitd65d82f84b7045de77e4cf26cc34b4f6d9e9d8e6 (patch)
tree6794884225746eba13523bfb8de0fe3a4eed0a44 /src/plugins/lua/clickhouse.lua
parentafd3a86278c8a5f3f868175048be1dd9ad6a8c62 (diff)
downloadrspamd-d65d82f84b7045de77e4cf26cc34b4f6d9e9d8e6.tar.gz
rspamd-d65d82f84b7045de77e4cf26cc34b4f6d9e9d8e6.zip
[Minor] Use '--' instead of 'UN' for unknown values
Diffstat (limited to 'src/plugins/lua/clickhouse.lua')
-rw-r--r--src/plugins/lua/clickhouse.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/clickhouse.lua b/src/plugins/lua/clickhouse.lua
index 08fb25c8c..bd164ab65 100644
--- a/src/plugins/lua/clickhouse.lua
+++ b/src/plugins/lua/clickhouse.lua
@@ -573,7 +573,7 @@ local function clickhouse_collect(task)
-- ASN information
if settings['asn_table'] then
- local asn, country, ipnet = 'UN', 'UN', 'UN'
+ local asn, country, ipnet = '--', '--', '--'
local pool = task:get_mempool()
ret = pool:get_variable("asn")
if ret then