]> git.ipfire.org Git - thirdparty/iptables.git/commit
xtables: allow dumping of chains in specific table
authorFlorian Westphal <fw@strlen.de>
Thu, 24 May 2018 15:50:25 +0000 (17:50 +0200)
committerFlorian Westphal <fw@strlen.de>
Fri, 25 May 2018 10:54:58 +0000 (12:54 +0200)
commit03e1377b38af45292a3a55828ee8e7c7e41ae64c
treefa1c626353884bf4aecc7abad71977b851e233c4
parent94fd83d957224eff6043ec6731851dd1a5ae2d4d
xtables: allow dumping of chains in specific table

This is used by a followup patch to avoid continuing the 'dump everything
and then ignore what we don't need' model.

Places that know they only need a particular table
'iptables-save -t filter' can ask the kernel to limit this for us.

Signed-off-by: Florian Westphal <fw@strlen.de>
iptables/nft.c
iptables/nft.h
iptables/xtables-restore.c
iptables/xtables-save.c