summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2019-03-15 17:21:01 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2019-03-18 16:22:49 +0100
commit74710e05906c37da6b436386dc13c44dbe5d8308 (patch)
treebba74a5e9f8a40f2976127e44b011a74e4308bfe /net
parentnetfilter: nf_tables: bogus EBUSY in helper removal from transaction (diff)
downloadlinux-74710e05906c37da6b436386dc13c44dbe5d8308.tar.xz
linux-74710e05906c37da6b436386dc13c44dbe5d8308.zip
netfilter: nft_redir: fix module autoload with ip4
AF_INET4 does not exist. Fixes: c78efc99c750 ("netfilter: nf_tables: nat: merge nft_redir protocol specific modules)" Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net')
-rw-r--r--net/netfilter/nft_redir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/nft_redir.c b/net/netfilter/nft_redir.c
index f8092926f704..a340cd8a751b 100644
--- a/net/netfilter/nft_redir.c
+++ b/net/netfilter/nft_redir.c
@@ -233,5 +233,5 @@ module_exit(nft_redir_module_exit);
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Arturo Borrero Gonzalez <arturo@debian.org>");
-MODULE_ALIAS_NFT_AF_EXPR(AF_INET4, "redir");
+MODULE_ALIAS_NFT_AF_EXPR(AF_INET, "redir");
MODULE_ALIAS_NFT_AF_EXPR(AF_INET6, "redir");