Skip to contentSkip to conversation

Module aliases for xt_iprange

PATCH Applied Phil Oester 2 participants 2 messages May 12, 2008

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

PATCH 1/1 Module aliases for xt_iprange

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.

Phil

net/netfilter/xt_iprange.c renamed from net/netfilter/xt_iprange.c.orig +2 -0
@@ -179,3 +179,5 @@
 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");
#1 lore raw
Quoted 3 lines · Phil Oester

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.

Applied, thanks Phil. I'll also push it to -stable once it hits upstream.