]> git.ipfire.org Git - thirdparty/xtables-addons.git/commitdiff
xt_geoip: keep compiling for <= 2.6.23
authorJan Engelhardt <jengelh@medozas.de>
Wed, 2 Feb 2011 04:21:47 +0000 (05:21 +0100)
committerJan Engelhardt <jengelh@medozas.de>
Wed, 2 Feb 2011 04:21:56 +0000 (05:21 +0100)
extensions/xt_geoip.c

index c84b764154e96f8d8157018191bee990e707ab07..d644605024d4e6bb4310944f3154b94cee6d81b3 100644 (file)
@@ -199,8 +199,8 @@ xt_geoip_mt6(const struct sk_buff *skb, struct xt_action_param *par)
        rcu_read_lock();
        for (i = 0; i < info->count; i++) {
                if ((node = info->mem[i].kernel) == NULL) {
-                       pr_err("'%c%c' is not loaded into memory... skip it!\n",
-                              COUNTRY(info->cc[i]));
+                       printk(KERN_ERR "xt_geoip: what the hell ?? '%c%c' isn't loaded into memory... skip it!\n",
+                                       COUNTRY(info->cc[i]));
                        continue;
                }
                if (geoip_bsearch6(node->subnets, &ip, 0, node->count)) {