From: Florian Westphal Date: Wed, 24 Mar 2021 11:07:05 +0000 (+0100) Subject: parser: add missing scope_close annotation for RT keyword X-Git-Tag: v0.9.9~76 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=47fdff19c0e1aba85cc0edf74fa029d4ed4f10e7;p=thirdparty%2Fnftables.git parser: add missing scope_close annotation for RT keyword Signed-off-by: Florian Westphal --- diff --git a/src/parser_bison.y b/src/parser_bison.y index 98fe4431..5cb4f8e1 100644 --- a/src/parser_bison.y +++ b/src/parser_bison.y @@ -5506,7 +5506,7 @@ exthdr_exists_expr : EXTHDR exthdr_key ; exthdr_key : HBH { $$ = IPPROTO_HOPOPTS; } - | RT { $$ = IPPROTO_ROUTING; } + | RT close_scope_rt { $$ = IPPROTO_ROUTING; } | FRAG { $$ = IPPROTO_FRAGMENT; } | DST { $$ = IPPROTO_DSTOPTS; } | MH { $$ = IPPROTO_MH; }