0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-21 17:21:53 +00:00

Filter: Fix eval command

This commit is contained in:
Ondrej Zajicek (work) 2019-09-24 00:18:48 +02:00
parent 9c79022153
commit ea0917bcba

View File

@ -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;
}