summaryrefslogtreecommitdiffstats
path: root/iptables/tests/shell/testcases/nft-only
Commit message (Collapse)AuthorAgeFilesLines
* xtables: avoid bogus 'is incompatible' warningFlorian Westphal2018-07-241-0/+21
when using custom nft tables + iptables-nft, iptables-nft -L may fail with iptables v1.8.0 (nf_tables): table `filter' is incompatible, use 'nft' tool. even if filter table is compatible. Problem is that the chain cache tracks ALL chains. The "old" compat-check only walked chains in the table to checked (filter in this case), now we will see all other chains including base chains of another table. It seems better to extend the chain cache long-term to track chains per table instead, but for now skip the foreign ones. Reported-by: Eric Garver <e@erig.me> Fixes: 01e25e264a4c4 ("xtables: add chain cache") Signed-off-by: Florian Westphal <fw@strlen.de>