From 9847abe6fbb91621f6494df8243ff96f04efdc4a Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Sat, 17 Nov 2018 18:10:15 +0100 Subject: nft: add type field to builtin_table Use enum nft_table_type to set the new type field in the structure that define tables. Signed-off-by: Pablo Neira Ayuso --- iptables/nft.h | 1 + 1 file changed, 1 insertion(+) (limited to 'iptables/nft.h') diff --git a/iptables/nft.h b/iptables/nft.h index 980b38dc..e582a6af 100644 --- a/iptables/nft.h +++ b/iptables/nft.h @@ -23,6 +23,7 @@ struct builtin_chain { struct builtin_table { const char *name; + enum nft_table_type type; struct builtin_chain chains[NF_INET_NUMHOOKS]; bool initialized; struct nftnl_chain_list *chain_cache; -- cgit v1.2.3