Skip to contentSkip to conversation

netfilter -stable: xt_iprange: module aliases for xt_iprange

PATCH Patrick McHardy 1 participant 1 message May 20, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Another small netfilter fix for -stable to add missing module aliases to xt_iprange that were forgotten when moving the module to x_tables.

Please apply, thanks.

commit 3d7169b2fdbda9954a4c9026b6f6a78ff8cc64a9

Author: Patrick McHardy <[email protected]>
Date:   Tue May 20 14:08:12 2008 +0200

netfilter: xt_iprange: module aliases for xt_iprange

Upstream commit 01b7a314:

Using iptables 1.3.8 with kernel 2.6.25, rules which include '-m iprange' don't automatically pull in xt_iprange module. Below patch adds module aliases to fix that. Patch against latest -git, but seems like a good candidate for -stable also.

net/netfilter/xt_iprange.c +2 -0
index 500528d..c63e933 100644
@@ -179,3 +179,5 @@ module_exit(iprange_mt_exit);
 MODULE_LICENSE("GPL");
 MODULE_AUTHOR("Jozsef Kadlecsik <[email protected]>, Jan Engelhardt <[email protected]>");
 MODULE_DESCRIPTION("Xtables: arbitrary IPv4 range matching");
+MODULE_ALIAS("ipt_iprange");
+MODULE_ALIAS("ip6t_iprange");