]> git.ipfire.org Git - thirdparty/nftables.git/commit
parser: allow listing sets in one table
authorFlorian Westphal <fw@strlen.de>
Thu, 4 May 2017 15:51:54 +0000 (17:51 +0200)
committerFlorian Westphal <fw@strlen.de>
Thu, 4 May 2017 19:08:17 +0000 (21:08 +0200)
commitf99ccda252fa2a44d587c771e92896bcda1d7c7e
tree09f1582553e5131c8864ff6ac3eee020eb0459e8
parent6908a677ba04c7c714b2e8b1368ec79ea1ebc07b
parser: allow listing sets in one table

currently nft can lists sets:
nft list sets

but unlike e.g. 'quotas' or 'counters' we didn't support restricting it to
a table.  Now its possible to restrict set definition listing to one table:

nft list sets table inet filter

Reported-by: Thomas Woerner <twoerner@redhat.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
src/evaluate.c
src/parser_bison.y