patch-2.1.106 linux/net/ipv4/ipconfig.c
Next file: linux/net/ipv4/route.c
Previous file: linux/net/ipv4/ip_output.c
Back to the patch index
Back to the overall index
- Lines: 30
- Date:
Sat Jun 13 11:46:12 1998
- Orig file:
v2.1.105/linux/net/ipv4/ipconfig.c
- Orig date:
Fri May 8 23:14:57 1998
diff -u --recursive --new-file v2.1.105/linux/net/ipv4/ipconfig.c linux/net/ipv4/ipconfig.c
@@ -1,5 +1,5 @@
/*
- * $Id: ipconfig.c,v 1.12 1998/05/03 14:30:53 alan Exp $
+ * $Id: ipconfig.c,v 1.13 1998/06/09 03:40:47 zaitcev Exp $
*
* Automatic Configuration of IP -- use BOOTP or RARP or user-supplied
* information to configure own IP address and routes.
@@ -248,6 +248,11 @@
__initfunc(int ic_defaults(void))
{
+ /*
+ * At this point we have no userspace running so need not
+ * claim locks on system_utsname
+ */
+
if (!ic_host_name_set)
strcpy(system_utsname.nodename, in_ntoa(ic_myaddr));
@@ -1072,8 +1077,8 @@
}
/*
- * Decode any IP configuration options in the "ipconfig" kernel command
- * line parameter. It consists of option fields separated by colons in
+ * Decode any IP configuration options in the "ip=" or "nfsaddrs=" kernel
+ * command line parameter. It consists of option fields separated by colons in
* the following order:
*
* <client-ip>:<server-ip>:<gw-ip>:<netmask>:<host name>:<device>:<bootp|rarp>
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov