summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2021-03-24 12:07:05 +0100
committerFlorian Westphal <fw@strlen.de>2021-03-24 12:12:35 +0100
commit47fdff19c0e1aba85cc0edf74fa029d4ed4f10e7 (patch)
tree0cba297b266edf48bb7ed414366c500afb322e31 /src
parentf90f850489a442de4d3327d716071129cacc7219 (diff)
parser: add missing scope_close annotation for RT keyword
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'src')
-rw-r--r--src/parser_bison.y2
1 files changed, 1 insertions, 1 deletions
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; }