diff options
| author | Pablo Neira Ayuso <pablo@netfilter.org> | 2025-06-15 11:36:28 +0200 |
|---|---|---|
| committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2025-06-23 18:41:05 +0200 |
| commit | 640312b1529c548790117635c91886a6c83e83f2 (patch) | |
| tree | 2346c4d3310cf0c058af27e97adc2cd4b2b1a317 /src | |
| parent | e8c7ba0aac7ce321e61008fe9b4b8f11c3ba7e1d (diff) | |
parser_bison: allow delete command with map via handle
For consistency with sets, allow delete via handle for maps too.
Fixes: f4a34d25f6d5 ("src: list set handle and delete set via set handle")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src')
| -rw-r--r-- | src/parser_bison.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser_bison.y b/src/parser_bison.y index 87b34293..9278b67a 100644 --- a/src/parser_bison.y +++ b/src/parser_bison.y @@ -1450,7 +1450,7 @@ delete_cmd : TABLE table_or_id_spec { $$ = cmd_alloc(CMD_DELETE, CMD_OBJ_SET, &$2, &@$, NULL); } - | MAP set_spec + | MAP set_or_id_spec { $$ = cmd_alloc(CMD_DELETE, CMD_OBJ_SET, &$2, &@$, NULL); } |
