summaryrefslogtreecommitdiffstats
path: root/iptables/nft.h
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2018-05-24 17:57:34 +0200
committerFlorian Westphal <fw@strlen.de>2018-05-25 23:37:55 +0200
commit49709e2ac6cf778e8732e9b0ca124da556ed6a91 (patch)
tree2791569381bcf135746147894ff42b1b06ebe385 /iptables/nft.h
parent03e1377b38af45292a3a55828ee8e7c7e41ae64c (diff)
xtables-compat: remove nft_is_ruleset_compatible
Use nft_is_table_compatible instead as only helper to a 'skip' decision. Custom tables, tables that have extra base chains that iptables syntax doesn't allow or rules that have special constructs line nftables set lookups or verdict maps are not listed, but a message is provided to show that such table exists. Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'iptables/nft.h')
-rw-r--r--iptables/nft.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/iptables/nft.h b/iptables/nft.h
index af229233..5d0576c8 100644
--- a/iptables/nft.h
+++ b/iptables/nft.h
@@ -182,7 +182,6 @@ int nft_arp_rule_insert(struct nft_handle *h, const char *chain,
void nft_rule_to_arpt_entry(struct nftnl_rule *r, struct arpt_entry *fw);
-int nft_is_ruleset_compatible(struct nft_handle *h);
bool nft_is_table_compatible(struct nft_handle *h, const char *name);
#endif