diff options
Diffstat (limited to 'nest/config.Y')
-rw-r--r-- | nest/config.Y | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/nest/config.Y b/nest/config.Y index f87ed2df..3242f96e 100644 --- a/nest/config.Y +++ b/nest/config.Y @@ -263,14 +263,7 @@ rtable: imexport: FILTER filter { $$ = $2; } - | LUA constant { - $$ = cfg_alloc(sizeof(struct filter)); - $$->name = NULL; - $$->root = f_new_inst(); - $$->root->code = P('L','C'); - $$->root->a1.p = $2; - $$->root->next = NULL; - } + | lua_call | where_filter | ALL { $$ = FILTER_ACCEPT; } | NONE { $$ = FILTER_REJECT; } |