summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
Diffstat (limited to 'filter')
-rw-r--r--filter/filter.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/filter/filter.c b/filter/filter.c
index 9e75f174..785a0876 100644
--- a/filter/filter.c
+++ b/filter/filter.c
@@ -281,8 +281,10 @@ rta_cow(void)
}
}
+static struct rate_limit rl_runtime_err;
+
#define runtime(x) do { \
- log( L_ERR "filters, line %d: %s", what->lineno, x); \
+ log_rl(&rl_runtime_err, L_ERR "filters, line %d: %s", what->lineno, x); \
res.type = T_RETURN; \
res.val.i = F_ERROR; \
return res; \