diff options
Diffstat (limited to 'nest')
-rw-r--r-- | nest/config.Y | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/nest/config.Y b/nest/config.Y index 89177a7a..01d34fa9 100644 --- a/nest/config.Y +++ b/nest/config.Y @@ -237,8 +237,14 @@ r_args: } | r_args FILTER filter { $$ = $1; + if ($$->filter != FILTER_ACCEPT) cf_error("Filter specified twice"); $$->filter = $3; } + | r_args where_filter { + $$ = $1; + if ($$->filter != FILTER_ACCEPT) cf_error("Filter specified twice"); + $$->filter = $2; + } | r_args ALL { $$ = $1; $$->verbose = 1; |