diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-03-27 11:53:05 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-03-30 11:29:17 +0200 |
commit | 32537e91847a5686d57d3811c075a46b2d9b6434 (patch) | |
tree | 95f211d0ba7d991aa756c93d82654be60aea279d /net/ipv6/netfilter/nft_chain_route_ipv6.c | |
parent | netfilter: ebt_stp: Use generic functions for comparisons (diff) | |
download | linux-dev-32537e91847a5686d57d3811c075a46b2d9b6434.tar.xz linux-dev-32537e91847a5686d57d3811c075a46b2d9b6434.zip |
netfilter: nf_tables: rename struct nf_chain_type
Use nft_ prefix. By when I added chain types, I forgot to use the
nftables prefix. Rename enum nft_chain_type to enum nft_chain_types too,
otherwise there is an overlap.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/ipv6/netfilter/nft_chain_route_ipv6.c')
-rw-r--r-- | net/ipv6/netfilter/nft_chain_route_ipv6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/netfilter/nft_chain_route_ipv6.c b/net/ipv6/netfilter/nft_chain_route_ipv6.c index 11d3c3b9aa18..d5c7fdc34256 100644 --- a/net/ipv6/netfilter/nft_chain_route_ipv6.c +++ b/net/ipv6/netfilter/nft_chain_route_ipv6.c @@ -60,7 +60,7 @@ static unsigned int nf_route_table_hook(void *priv, return ret; } -static const struct nf_chain_type nft_chain_route_ipv6 = { +static const struct nft_chain_type nft_chain_route_ipv6 = { .name = "route", .type = NFT_CHAIN_T_ROUTE, .family = NFPROTO_IPV6, |