summaryrefslogtreecommitdiffstats
path: root/iptables/nft-shared.h
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2018-06-19 12:02:24 +0200
committerFlorian Westphal <fw@strlen.de>2018-06-25 11:50:51 +0200
commit20eac2ad174e43a3d4a4275c3d44f99c12bd04b9 (patch)
treef6f38ec4b33f55394d7930532bdcde7feb3cbed8 /iptables/nft-shared.h
parentc9f5e18d72d3a010e9a53024290f9f4802ada9fd (diff)
xtables: warn in case old-style (set/getsockopt) tables exist
Provide a hint that iptables isn't showing all rules because its using nfnetlink rather than old set/getsockopt. Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'iptables/nft-shared.h')
-rw-r--r--iptables/nft-shared.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/iptables/nft-shared.h b/iptables/nft-shared.h
index 0108b7f9..6d04b1a4 100644
--- a/iptables/nft-shared.h
+++ b/iptables/nft-shared.h
@@ -270,4 +270,5 @@ void xtables_restore_parse(struct nft_handle *h,
struct nft_xt_restore_cb *cb,
int argc, char *argv[]);
+void nft_check_xt_legacy(int family, bool is_ipt_save);
#endif