vserver 2.0 rc7
[linux-2.6.git] / net / ipv4 / netfilter / ip_nat_ftp.c
index e4799f2..c6000e7 100644 (file)
@@ -170,5 +170,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);