diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2019-05-24 22:26:34 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2019-05-31 18:20:49 +0200 |
commit | 5142967ab524eb8e5c1f6122e46e2df81bae178b (patch) | |
tree | 64cb8e5aad23e39bb47ad53bb935056ca1f89b04 /net/netfilter/nft_redir.c | |
parent | 100f6d8e09905c59be45b6316f8f369c0be1b2d8 (diff) | |
download | linux-5142967ab524eb8e5c1f6122e46e2df81bae178b.tar.gz linux-5142967ab524eb8e5c1f6122e46e2df81bae178b.tar.bz2 linux-5142967ab524eb8e5c1f6122e46e2df81bae178b.zip |
netfilter: nf_tables: fix module autoload with inet family
Use MODULE_ALIAS_NFT_EXPR() to make happy the inet family with nat.
Fixes: 63ce3940f3ab ("netfilter: nft_redir: add inet support")
Fixes: 071657d2c38c ("netfilter: nft_masq: add inet support")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter/nft_redir.c')
-rw-r--r-- | net/netfilter/nft_redir.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/netfilter/nft_redir.c b/net/netfilter/nft_redir.c index da74fdc4a684..8787e9f8ed71 100644 --- a/net/netfilter/nft_redir.c +++ b/net/netfilter/nft_redir.c @@ -294,5 +294,4 @@ module_exit(nft_redir_module_exit); MODULE_LICENSE("GPL"); MODULE_AUTHOR("Arturo Borrero Gonzalez <arturo@debian.org>"); -MODULE_ALIAS_NFT_AF_EXPR(AF_INET, "redir"); -MODULE_ALIAS_NFT_AF_EXPR(AF_INET6, "redir"); +MODULE_ALIAS_NFT_EXPR("nat"); |