PATCH: Enable IP PNP for 2.4.4-ac8

H . J . Lu
2001-05-11T23:24:40Z

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