Skip to contentSkip to conversation

: xt_iprange: module aliases for xt_iprange

PATCH Applied Patrick McHardy 2 participants 2 messages May 13, 2008 – May 14, 2008

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

PATCH 2/2 : xt_iprange: module aliases for xt_iprange

[NETFILTER]: xt_iprange: 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.

---
commit 289242ae97199103baf1254623a424f74601121a
tree 9bf1048f9327c482d6847ee0d840afb64e294918
parent fee65a663d85aa9af3b295064e974ccb692e2c9c
author Phil Oester <[email protected]> Tue, 13 May 2008 13:21:48 +0200 committer Patrick McHardy <[email protected]> Tue, 13 May 2008 13:21:48 +0200

 net/netfilter/xt_iprange.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
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");
maintainer
#1 lore raw

From: Patrick McHardy <[email protected]>
Date: Tue, 13 May 2008 13:33:57 +0200

Quoted 9 lines

[NETFILTER]: xt_iprange: 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.

Also applied, thanks a lot.