summaryrefslogtreecommitdiffstats
path: root/filter/f-util.c
diff options
context:
space:
mode:
Diffstat (limited to 'filter/f-util.c')
-rw-r--r--filter/f-util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/filter/f-util.c b/filter/f-util.c
index 7856d7f..1f757ff 100644
--- a/filter/f-util.c
+++ b/filter/f-util.c
@@ -146,13 +146,13 @@ f_new_inst(void)
}
int
-f_run(struct symbol *filter, struct rte *rtein, struct rte **rteout)
+f_run(struct filter *filter, struct rte *rtein, struct rte **rteout)
{
struct f_inst *inst;
struct f_val res;
debug( "Running filter `%s'...", filter->name );
- inst = filter->def;
+ inst = filter->root;
res = interpret(inst);
if (res.type != T_RETURN)
return F_ERROR;