Commit ce8b73b4 authored by Lode Leroy's avatar Lode Leroy Committed by David S. Miller

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

With modification from niv@us.ibm.com to only print
bootserver if there was one.
parent 94baa8be
......@@ -1115,6 +1115,10 @@ static int pnp_get_info(char *buffer, char **start,
"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;
......
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