mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
netfilter: use macros to create module aliases.
Each NAT helper creates a module alias which follows a pattern. Use macros for consistency. Signed-off-by: Flavio Leitner <[email protected]> Signed-off-by: Pablo Neira Ayuso <[email protected]>
This commit is contained in:
parent
8f14c99c7e
commit
e1f172e162
8 changed files with 11 additions and 7 deletions
|
|
@ -631,4 +631,4 @@ module_exit(fini);
|
|||
MODULE_AUTHOR("Jing Min Zhao <[email protected]>");
|
||||
MODULE_DESCRIPTION("H.323 NAT helper");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_ALIAS("ip_nat_h323");
|
||||
MODULE_ALIAS_NF_NAT_HELPER("h323");
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@
|
|||
MODULE_LICENSE("GPL");
|
||||
MODULE_AUTHOR("Harald Welte <[email protected]>");
|
||||
MODULE_DESCRIPTION("Netfilter NAT helper module for PPTP");
|
||||
MODULE_ALIAS("ip_nat_pptp");
|
||||
MODULE_ALIAS_NF_NAT_HELPER("pptp");
|
||||
|
||||
static void pptp_nat_expected(struct nf_conn *ct,
|
||||
struct nf_conntrack_expect *exp)
|
||||
|
|
|
|||
Loading…
Reference in a new issue