netfilter: nf_tables: fix module autoload with inet family
Use MODULE_ALIAS_NFT_EXPR() to make happy the inet family with nat. Fixes:63ce3940f3
("netfilter: nft_redir: add inet support") Fixes:071657d2c3
("netfilter: nft_masq: add inet support") Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
This commit is contained in:
parent
100f6d8e09
commit
5142967ab5
@ -307,5 +307,4 @@ module_exit(nft_masq_module_exit);
|
||||
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_AUTHOR("Arturo Borrero Gonzalez <arturo@debian.org>");
|
||||
MODULE_ALIAS_NFT_AF_EXPR(AF_INET6, "masq");
|
||||
MODULE_ALIAS_NFT_AF_EXPR(AF_INET, "masq");
|
||||
MODULE_ALIAS_NFT_EXPR("masq");
|
||||
|
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user