mirror of
git://git.code.sf.net/p/xtables-addons/xtables-addons
synced 2025-09-08 13:44:56 +02:00
xt_geoip: keep compiling for <= 2.6.23
This commit is contained in:
@@ -199,8 +199,8 @@ xt_geoip_mt6(const struct sk_buff *skb, struct xt_action_param *par)
|
|||||||
rcu_read_lock();
|
rcu_read_lock();
|
||||||
for (i = 0; i < info->count; i++) {
|
for (i = 0; i < info->count; i++) {
|
||||||
if ((node = info->mem[i].kernel) == NULL) {
|
if ((node = info->mem[i].kernel) == NULL) {
|
||||||
pr_err("'%c%c' is not loaded into memory... skip it!\n",
|
printk(KERN_ERR "xt_geoip: what the hell ?? '%c%c' isn't loaded into memory... skip it!\n",
|
||||||
COUNTRY(info->cc[i]));
|
COUNTRY(info->cc[i]));
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (geoip_bsearch6(node->subnets, &ip, 0, node->count)) {
|
if (geoip_bsearch6(node->subnets, &ip, 0, node->count)) {
|
||||||
|
Reference in New Issue
Block a user