mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 01:31:55 +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;
|
struct f_val val;
|
||||||
enum filter_return fret = f_eval(expr, tmp_pool, &val);
|
enum filter_return fret = f_eval(expr, tmp_pool, &val);
|
||||||
if (fret > F_RETURN)
|
if (fret <= F_RETURN)
|
||||||
val_format(&val, buf);
|
val_format(&val, buf);
|
||||||
return fret;
|
return fret;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user