Commit d029f790 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] display bootserver in /proc/net/pnp

From: "lode leroy" <lode_leroy@hotmail.com>

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...
parent c132f143
......@@ -1115,6 +1115,8 @@ static int pnp_get_info(char *buffer, char **start,
"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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment