mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-11-08 12:18:42 +00:00
Filter: Fix eval command
This commit is contained in:
parent
9c79022153
commit
ea0917bcba
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user