]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Use '--' instead of 'UN' for unknown values
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 2 Aug 2017 17:22:07 +0000 (18:22 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 2 Aug 2017 17:22:07 +0000 (18:22 +0100)
src/plugins/lua/clickhouse.lua

index 08fb25c8c393ac43e00e915a66d44185c30797b9..bd164ab65ec8c4300210d2d199d5ce4eafcb7bf9 100644 (file)
@@ -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