diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/parser_bison.y | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/parser_bison.y b/src/parser_bison.y index f996d9d9..7016f5b2 100644 --- a/src/parser_bison.y +++ b/src/parser_bison.y @@ -1426,6 +1426,15 @@ map_block : /* empty */ { $$ = $<set>-1; } $1->flags |= NFT_SET_OBJECT; $$ = $1; } + | map_block TYPE + data_type_expr COLON LIMIT + stmt_separator + { + $1->key = $3; + $1->objtype = NFT_OBJECT_LIMIT; + $1->flags |= NFT_SET_OBJECT; + $$ = $1; + } | map_block FLAGS set_flag_list stmt_separator { $1->flags |= $3; |