aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-01-26 17:03:15 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-01-26 17:03:15 +0000
commitda346dc41d500e0617a668fcb5158c1a9a3bd363 (patch)
treedc94270bdfc9e04e1f56ab4124978d6038bb91a0
parentf7200dd41947e09e42d6528b16b659532c3c7b5a (diff)
downloadrspamd-da346dc41d500e0617a668fcb5158c1a9a3bd363.tar.gz
rspamd-da346dc41d500e0617a668fcb5158c1a9a3bd363.zip
[Minor] Add missing actions
-rw-r--r--src/libserver/cfg_utils.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libserver/cfg_utils.c b/src/libserver/cfg_utils.c
index 42e4bbc4a..0d3f1e75a 100644
--- a/src/libserver/cfg_utils.c
+++ b/src/libserver/cfg_utils.c
@@ -2266,6 +2266,10 @@ rspamd_action_to_str (enum rspamd_action_type action)
return "invalid max action";
case METRIC_ACTION_CUSTOM:
return "custom";
+ case METRIC_ACTION_MILTER_DISCARD:
+ return "discard";
+ case METRIC_ACTION_MILTER_QUARANTINE:
+ return "quarantine";
}
return "unknown action";
@@ -2291,6 +2295,10 @@ rspamd_action_to_str_alt (enum rspamd_action_type action)
return "invalid max action";
case METRIC_ACTION_CUSTOM:
return "custom";
+ case METRIC_ACTION_MILTER_DISCARD:
+ return "discard";
+ case METRIC_ACTION_MILTER_QUARANTINE:
+ return "quarantine";
}
return "unknown action";