summaryrefslogtreecommitdiff
path: root/filter/filter.h
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2018-01-16 16:20:01 +0100
committerOndrej Zajicek (work) <santiago@crfreenet.org>2018-01-16 16:20:01 +0100
commitb94057911554e04df9b709f8354e2e220131096a (patch)
tree411495bfa60fccc6b685346f3fb6543ab54fed2f /filter/filter.h
parent0ff86d054efa8005c5df943acf6d2122781d3175 (diff)
Filter: Allow silent filter execution
A filter should log messages only if executed explicitly (e.g., during route export or route import). When a filter is executed for technical reasons (e.g., to establish whether a route was exported before), it should run silently.
Diffstat (limited to 'filter/filter.h')
-rw-r--r--filter/filter.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/filter/filter.h b/filter/filter.h
index 72b37461..efb4b978 100644
--- a/filter/filter.h
+++ b/filter/filter.h
@@ -227,5 +227,6 @@ struct f_trie
#define NEW_F_VAL struct f_val * val; val = cfg_alloc(sizeof(struct f_val));
#define FF_FORCE_TMPATTR 1 /* Force all attributes to be temporary */
+#define FF_SILENT 2 /* Silent filter execution */
#endif