vserver 2.0 rc7
[linux-2.6.git] / net / ipv4 / netfilter / ip_nat_irc.c
index e618b6c..9c1ca33 100644 (file)
@@ -112,5 +112,14 @@ static int __init init(void)
        return 0;
 }
 
+/* Prior to 2.6.11, we had a ports param.  No longer, but don't break users. */
+static int warn_set(const char *val, struct kernel_param *kp)
+{
+       printk(KERN_INFO __stringify(KBUILD_MODNAME)
+              ": kernel >= 2.6.10 only uses 'ports' for conntrack modules\n");
+       return 0;
+}
+module_param_call(ports, warn_set, NULL, NULL, 0);
+
 module_init(init);
 module_exit(fini);