diff options
Diffstat (limited to 'src/parser_bison.y')
-rw-r--r-- | src/parser_bison.y | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/parser_bison.y b/src/parser_bison.y index dfdf2377..59d7fd38 100644 --- a/src/parser_bison.y +++ b/src/parser_bison.y @@ -178,6 +178,7 @@ static void location_update(struct location *loc, struct location *rhs, int n) %token SET "set" %token ELEMENT "element" %token MAP "map" +%token MAPS "maps" %token HANDLE "handle" %token RULESET "ruleset" @@ -844,6 +845,10 @@ list_cmd : TABLE table_spec { $$ = cmd_alloc(CMD_LIST, CMD_OBJ_FLOWTABLE, &$3, &@$, NULL); } + | MAPS ruleset_spec + { + $$ = cmd_alloc(CMD_LIST, CMD_OBJ_MAPS, &$2, &@$, NULL); + } ; flush_cmd : TABLE table_spec |