patch-2.3.47 linux/net/ipv4/ipconfig.c

Next file: linux/net/ipv4/tcp_output.c
Previous file: linux/net/ipv4/af_inet.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.46/linux/net/ipv4/ipconfig.c linux/net/ipv4/ipconfig.c
@@ -821,7 +821,7 @@
  *	IP Autoconfig dispatcher.
  */
 
-int __init ip_auto_config(void)
+static int __init ip_auto_config(void)
 {
 	if (!ic_enable)
 		return 0;
@@ -878,6 +878,9 @@
 	    system_utsname.domainname, root_server_path));
 	return 0;
 }
+
+module_init(ip_auto_config);
+
 
 /*
  *  Decode any IP configuration options in the "ip=" or "nfsaddrs=" kernel

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)