Re: [Patch]2.5.70 - display bootserver in /proc/net/pnp(net/ipv4/ipconfig.c) (fwd)

From: Nivedita Singhvi <hidden>
Date: 2003-07-05 19:52:05

How about:

--- /usr/src/linux-2.5.73/net/ipv4/ipconfig.c	Sun Jun 22 11:32:31 2003
+++ /usr/src/linux-2.5.73/net/ipv4/ipconfig.c.new	Sat Jul  5 12:16:00 2003
@@ -1115,6 +1115,10 @@
 				       "nameserver %u.%u.%u.%u\n",
 				       NIPQUAD(ic_nameservers[i]));
 	}
+	if (ic_servaddr != INADDR_NONE)
+		len += sprintf(buffer + len,
+			       "bootserver %u.%u.%u.%u\n",
+			       NIPQUAD(ic_servaddr));
 
 	if (offset > len)
 		offset = len;
 
thanks,
Nivedita
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help