[patch] ipconfig

Michele Bini (mibin@tin.it)
Sun, 9 May 1999 01:56:56 +0000


I sent this patch to linux-kernel some month ago.

The line it modifies is the only preventing one from booting
with nfsroot over pointopoint links (i tested it only for
PLIP, however, but it should work even with SLIP).

diff --recursive -u linux/net/ipv4/ipconfig.c linux-proc/net/ipv4/ipconfig.c
--- linux/net/ipv4/ipconfig.c Sun May 9 01:19:35 1999
+++ linux-proc/net/ipv4/ipconfig.c Sat May 8 19:28:11 1999
@@ -115,7 +115,7 @@
for (dev = dev_base; dev; dev = dev->next)
if (user_dev_name[0] ? !strcmp(dev->name, user_dev_name) :
(!(dev->flags & IFF_LOOPBACK) &&
- (dev->flags & (IFF_POINTOPOINT|IFF_BROADCAST)) &&
+ (dev->flags & (IFF_POINTOPOINT)) &&
strncmp(dev->name, "dummy", 5))) {
int able = 0;
if (dev->mtu >= 364)

I think it would be reasonable to put it into the official Linux tree.

Thank you for your attention.

-Michele

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/