From 20eac2ad174e43a3d4a4275c3d44f99c12bd04b9 Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Tue, 19 Jun 2018 12:02:24 +0200 Subject: 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 --- iptables/nft-shared.h | 1 + 1 file changed, 1 insertion(+) (limited to 'iptables/nft-shared.h') 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 -- cgit v1.2.3