]> git.ipfire.org Git - thirdparty/nftables.git/commit
parser_bison: Allow flushing maps
authorElise Lennion <elise.lennion@gmail.com>
Fri, 17 Mar 2017 15:04:06 +0000 (12:04 -0300)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 20 Mar 2017 10:17:23 +0000 (11:17 +0100)
commit6d37dae4b313e162d3196c2e5aa1670dbaf43bff
tree9da62041a0e290aa0e457f230f4e6e5863b470a7
parent2daa0ee27fe13a9d64105f29144038fcaf4e7e1d
parser_bison: Allow flushing maps

This patch enables the command flush on maps, which removes all
entries in it:

$ nft flush map filter map1

Command above flushes map 'map1' in table 'filter'.

The documentation was updated accordingly.

Signed-off-by: Elise Lennion <elise.lennion@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
doc/nft.xml
src/parser_bison.y