]> git.ipfire.org Git - thirdparty/iptables.git/commit
xtables-compat: skip unsupported tables
authorFlorian Westphal <fw@strlen.de>
Fri, 6 Apr 2018 22:44:49 +0000 (00:44 +0200)
committerFlorian Westphal <fw@strlen.de>
Mon, 9 Apr 2018 20:53:09 +0000 (22:53 +0200)
commit9d9b724cab2276a1ffa43e8376f2ed10282d07da
tree331175080abfab6cdbdecd23f3484620e75577f0
parent59d15cfb8998074b2f6077fb5a4a5aea6a002bc7
xtables-compat: skip unsupported tables

Instead of not listing anything at all if an unknown table name
exists, just skip them.  Output a small comment that the listing
doesn't include the (unrecognized, nft-created) tables.

Next patch will restrict 'is this table printable in
xtables syntax' check to the "builtin" tables.

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