* [PATCH] 2.5.70 - display bootserver in /proc/net/pnp (net/ipv4/ipconfig.c)
@ 2003-07-04 9:43 lode leroy
0 siblings, 0 replies; only message in thread
From: lode leroy @ 2003-07-04 9:43 UTC (permalink / raw)
To: linux-kernel; +Cc: mj
Hello,
I would like to submit a trivial enhancement to display
the ip address of the bootserver in /proc/net/pnp
This aids me in developing a diskless linux root image
to know where it comes from...
please kindly apply this to the current linux 2.7.x tree
-- lode
# diff -u net/ipv4/ipconfig.{orig,c}
--- net/ipv4/ipconfig.orig 2003-05-27 03:00:21.000000000 +0200
+++ net/ipv4/ipconfig.c 2003-07-04 11:17:30.000000000 +0200
@@ -1115,6 +1115,9 @@
"nameserver %u.%u.%u.%u\n",
NIPQUAD(ic_nameservers[i]));
}
+ len += sprintf(buffer + len,
+ "bootserver %u.%u.%u.%u\n",
+ NIPQUAD(ic_servaddr));
if (offset > len)
offset = len;
_________________________________________________________________
Receive your Hotmail & Messenger messages on your mobile phone with MSN
Mobile http://www.msn.be/gsm/smsservices
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-07-04 9:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-04 9:43 [PATCH] 2.5.70 - display bootserver in /proc/net/pnp (net/ipv4/ipconfig.c) lode leroy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®