From: Ondrej Zajicek (work) Date: Mon, 23 Sep 2019 22:18:48 +0000 (+0200) Subject: Filter: Fix eval command X-Git-Tag: v2.0.7~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea0917bcba86d354f9c8516a4f114c38d04f890b;p=thirdparty%2Fbird.git Filter: Fix eval command --- diff --git a/filter/filter.c b/filter/filter.c index 35bd75e61..60e351f9c 100644 --- a/filter/filter.c +++ b/filter/filter.c @@ -407,7 +407,7 @@ f_eval_buf(const struct f_line *expr, struct linpool *tmp_pool, buffer *buf) { struct f_val val; enum filter_return fret = f_eval(expr, tmp_pool, &val); - if (fret > F_RETURN) + if (fret <= F_RETURN) val_format(&val, buf); return fret; }