]> git.ipfire.org Git - thirdparty/nftables.git/commit
parser_bison: delete chain via chain handle
authorHarsha Sharma <harshasharmaiitr@gmail.com>
Tue, 9 Jan 2018 18:59:42 +0000 (00:29 +0530)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 5 Mar 2018 15:39:59 +0000 (16:39 +0100)
commit51d3592d22ea5b0d5e5740a3b3cc4b62a2fabb36
treea24f8a9290d17ccc96b732a5545b7859258ba417
parent51a087822e14d29bfbfd87892b792169d78d9863
parser_bison: delete chain via chain handle

This patch allows deletion of chains via unique chain handles which
can be listed with '-a' option and table name and family.
For eg.

nft delete chain [<family>] <table-name> [handle <handle>]

Signed-off-by: Harsha Sharma <harshasharmaiitr@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
src/parser_bison.y