diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-08-10 21:29:53 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-08-10 21:29:53 +0100 |
commit | d40c69e505fd7b47be65c1f3741907bf8f9af612 (patch) | |
tree | 3aeb6b0b55bffe16ce34f02e66c81d9e4410ac90 | |
parent | 9cd729d4cc45833b3e613aa7db1841eda4d9c3e0 (diff) | |
download | rspamd-d40c69e505fd7b47be65c1f3741907bf8f9af612.tar.gz rspamd-d40c69e505fd7b47be65c1f3741907bf8f9af612.zip |
[Fix] Do not show rmilter section as a fake metric in rspamc
-rw-r--r-- | src/client/rspamc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/rspamc.c b/src/client/rspamc.c index b9fe5ff54..bad266b9e 100644 --- a/src/client/rspamc.c +++ b/src/client/rspamc.c @@ -642,7 +642,8 @@ rspamc_symbols_output (FILE *out, ucl_object_t *obj) rspamd_fprintf (out, "DKIM-Signature: %s\n", ucl_object_tostring ( cur)); } - else if (cur->type == UCL_OBJECT) { + else if (cur->type == UCL_OBJECT && + g_ascii_strcasecmp (ucl_object_key (cur), "rmilter") != 0) { /* Parse metric */ rspamc_metric_output (out, cur); } |