lkml.org 
[lkml]   [1998]   [Jan]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: Problem with net/ipv4/ipconfig.c
Hi,

> When compiling with CONFIG_IP_PNP enabled:
>
> gcc -D__KERNEL__ -I/home/kernel/v2.1/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -D__SMP__ -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=686 -D__SMP__ -c -o ip_input.o ip_input.c
> ipconfig.c: In function `ic_do_bootp_ext':
> ipconfig.c:803: `b' undeclared (first use this function)
> ipconfig.c:803: (Each undeclared identifier is reported only once
> ipconfig.c:803: for each function it appears in.)

It seems a bit of my patch got duplicated in 2.1.79. A fix follows:

Have a nice fortnight
--
Martin `MJ' Mares <mj@gts.cz> http://atrey.karlin.mff.cuni.cz/~mj/
Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
"People disagree with me. I just ignore them." -- Linus Torvalds



--- ipconfig.c.mj Wed Jan 14 11:57:06 1998
+++ ipconfig.c Wed Jan 14 11:57:17 1998
@@ -799,9 +799,6 @@
ic_bootp_string(root_server_path, ext+1, *ext, sizeof(root_server_path));
break;
}
-
- if (ic_gateway == INADDR_NONE && b->relay_ip)
- ic_gateway = b->relay_ip;
}


\
 
 \ /
  Last update: 2005-03-22 13:41    [W:0.110 / U:1.440 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site