]> source.dussan.org Git - rspamd.git/commitdiff
Use EPOCH_6 for invalid fuzzy requests.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 13 Aug 2015 14:59:39 +0000 (15:59 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 13 Aug 2015 14:59:39 +0000 (15:59 +0100)
src/fuzzy_storage.c

index deb08966f2e15f599ebd83f000277179a0876412..96785fd754deff2232d6656ab73cf8820f7f5abb 100644 (file)
@@ -247,6 +247,7 @@ accept_fuzzy_socket (gint fd, short what, void *arg)
                }
                else {
                        /* Discard input */
+                       server_stat->fuzzy_hashes_checked[RSPAMD_FUZZY_EPOCH6] ++;
                        msg_debug ("invalid fuzzy command of size %d received", r);
                }
                if (cmd != NULL) {