0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-08 12:18:42 +00:00

Use new eval mechanism for testing filters.

This commit is contained in:
Pavel Machek 2000-05-15 12:07:09 +00:00
parent e3f2d5fce3
commit 6be662d917
2 changed files with 3 additions and 1 deletions

View File

@ -673,7 +673,7 @@ f_eval_int(struct f_inst *expr)
f_rte = NULL; f_rte = NULL;
f_rte_old = NULL; f_rte_old = NULL;
f_rta_copy = NULL; f_rta_copy = NULL;
f_pool = NULL; f_pool = cfg_mem;
res = interpret(expr); res = interpret(expr);
if (res.type != T_INT) if (res.type != T_INT)
cf_error("Integer expression expected"); cf_error("Integer expression expected");

View File

@ -141,3 +141,5 @@ int j;
accept "ok I take that"; accept "ok I take that";
} }
eval __startup();