trivial bug in net/ipv4/ipconfig.c

Claus-Justus Heine (claus@momo.math.rwth-aachen.de)
20 Jan 1998 11:15:22 +0100


Hi,

while setting up a diskless nfs-client I stumbled over a little thing
in net/ipv4/ipconfig.c

Obviously it was just an omitted parameter. See below.

Cheers

Claus

diff -u --recursive --new-file linux-2.1.79/net/ipv4/ipconfig.c linux/net/ipv4/ipconfig.c
--- linux-2.1.79/net/ipv4/ipconfig.c Tue Jan 13 12:15:55 1998
+++ linux/net/ipv4/ipconfig.c Fri Jan 16 21:06:17 1998
@@ -767,7 +767,7 @@
/*
* Process BOOTP extension.
*/
-__initfunc(static void ic_do_bootp_ext(u8 *ext))
+__initfunc(static void ic_do_bootp_ext(struct bootp_pkt *b, u8 *ext))
{
#ifdef IPCONFIG_DEBUG
u8 *c;
@@ -867,7 +867,7 @@
opt = ext;
ext += ext[1] + 2;
if (ext <= end)
- ic_do_bootp_ext(opt);
+ ic_do_bootp_ext(b, opt);
}
}
}