projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ffcd32
)
netfilter: nft_redir: fix module autoload with ip4
author
Pablo Neira Ayuso
<pablo@netfilter.org>
Fri, 15 Mar 2019 16:21:01 +0000
(17:21 +0100)
committer
Pablo Neira Ayuso
<pablo@netfilter.org>
Mon, 18 Mar 2019 15:22:49 +0000
(16:22 +0100)
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>
net/netfilter/nft_redir.c
patch
|
blob
|
history
diff --git
a/net/netfilter/nft_redir.c
b/net/netfilter/nft_redir.c
index
f809292
..
a340cd8
100644
(file)
--- 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_INET
4
, "redir");
+MODULE_ALIAS_NFT_AF_EXPR(AF_INET, "redir");
MODULE_ALIAS_NFT_AF_EXPR(AF_INET6, "redir");