]> git.feebdaed.xyz Git - 0xmirror/nftables.git/commit
parser_bison: allow delete command with map via handle
authorPablo Neira Ayuso <pablo@netfilter.org>
Sun, 15 Jun 2025 09:36:28 +0000 (11:36 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 23 Jun 2025 16:41:05 +0000 (18:41 +0200)
commit640312b1529c548790117635c91886a6c83e83f2
tree2346c4d3310cf0c058af27e97adc2cd4b2b1a317
parente8c7ba0aac7ce321e61008fe9b4b8f11c3ba7e1d
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>
src/parser_bison.y
tests/shell/testcases/cache/0008_delete_by_handle_0
tests/shell/testcases/cache/0009_delete_by_handle_incorrect_0