Commit 5142967a authored by Pablo Neira Ayuso's avatar Pablo Neira Ayuso

netfilter: nf_tables: fix module autoload with inet family

Use MODULE_ALIAS_NFT_EXPR() to make happy the inet family with nat.

Fixes: 63ce3940 ("netfilter: nft_redir: add inet support")
Fixes: 071657d2 ("netfilter: nft_masq: add inet support")
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
parent 100f6d8e
...@@ -307,5 +307,4 @@ module_exit(nft_masq_module_exit); ...@@ -307,5 +307,4 @@ module_exit(nft_masq_module_exit);
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
MODULE_AUTHOR("Arturo Borrero Gonzalez <arturo@debian.org>"); MODULE_AUTHOR("Arturo Borrero Gonzalez <arturo@debian.org>");
MODULE_ALIAS_NFT_AF_EXPR(AF_INET6, "masq"); MODULE_ALIAS_NFT_EXPR("masq");
MODULE_ALIAS_NFT_AF_EXPR(AF_INET, "masq");
...@@ -294,5 +294,4 @@ module_exit(nft_redir_module_exit); ...@@ -294,5 +294,4 @@ module_exit(nft_redir_module_exit);
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
MODULE_AUTHOR("Arturo Borrero Gonzalez <arturo@debian.org>"); MODULE_AUTHOR("Arturo Borrero Gonzalez <arturo@debian.org>");
MODULE_ALIAS_NFT_AF_EXPR(AF_INET, "redir"); MODULE_ALIAS_NFT_EXPR("nat");
MODULE_ALIAS_NFT_AF_EXPR(AF_INET6, "redir");
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment