From 06fd5e46d46f7454baa8f9470976002124827e53 Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Thu, 25 Jul 2019 17:19:14 +0200 Subject: xtables: Drop support for /etc/xtables.conf As decided upon at NFWS2019, drop support for configurable nftables base chains to use with iptables-nft. Signed-off-by: Phil Sutter Signed-off-by: Pablo Neira Ayuso --- iptables/nft.h | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'iptables/nft.h') diff --git a/iptables/nft.h b/iptables/nft.h index da078a44..5e5e765b 100644 --- a/iptables/nft.h +++ b/iptables/nft.h @@ -170,22 +170,6 @@ int nft_init_eb(struct nft_handle *h, const char *pname); int ebt_get_current_chain(const char *chain); int do_commandeb(struct nft_handle *h, int argc, char *argv[], char **table, bool restore); -/* - * Parse config for tables and chain helper functions - */ -#define XTABLES_CONFIG_DEFAULT "/etc/xtables.conf" - -struct nftnl_table_list; -struct nftnl_chain_list; - -extern int xtables_config_parse(const char *filename, struct nftnl_table_list *table_list, struct nftnl_chain_list *chain_list); - -enum { - NFT_LOAD_VERBOSE = (1 << 0), -}; - -int nft_xtables_config_load(struct nft_handle *h, const char *filename, uint32_t flags); - /* * Translation from iptables to nft */ -- cgit v1.2.3