From: Pablo Neira Ayuso Date: Wed, 22 Feb 2023 13:40:51 +0000 (+0100) Subject: parser_bison: missing close scope in destroy start condition X-Git-Tag: v1.0.7~14 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0692a865e40420f1de8de0889eb83c1504c6d749;p=thirdparty%2Fnftables.git parser_bison: missing close scope in destroy start condition base_cmd production is missing this, add it. Fixes: f79c7a531744 ("src: use start condition with new destroy command") Signed-off-by: Pablo Neira Ayuso --- diff --git a/src/parser_bison.y b/src/parser_bison.y index 043909d0..824e5db8 100644 --- a/src/parser_bison.y +++ b/src/parser_bison.y @@ -1105,7 +1105,7 @@ base_cmd : /* empty */ add_cmd { $$ = $1; } | EXPORT export_cmd close_scope_export { $$ = $2; } | MONITOR monitor_cmd close_scope_monitor { $$ = $2; } | DESCRIBE describe_cmd { $$ = $2; } - | DESTROY destroy_cmd { $$ = $2; } + | DESTROY destroy_cmd close_scope_destroy { $$ = $2; } ; add_cmd : TABLE table_spec