PATCH: Enable IP PNP for 2.4.4-ac8

H . J . Lu (hjl@lucon.org)
Fri, 11 May 2001 16:24:12 -0700


2.4.4-ac8 disables IP auto config by default even if CONFIG_IP_PNP is
defined. Here is a patch.

H.J.

---
--- linux-2.4.4-ac8/net/ipv4/ipconfig.c.auto	Fri May 11 14:02:32 2001
+++ linux-2.4.4-ac8/net/ipv4/ipconfig.c	Fri May 11 15:26:25 2001
@@ -100,7 +100,11 @@
  */
 int ic_set_manually __initdata = 0;		/* IPconfig parameters set manually */
 
+#if defined(CONFIG_IP_PNP)
+int ic_enable __initdata = 1;			/* IP config enabled? */
+#else
 int ic_enable __initdata = 0;			/* IP config enabled? */
+#endif
 
 /* Protocol choice */
 int ic_proto_enabled __initdata = 0
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/