[ECOS] old REDBOOT BOOTP bug <REMINDER for Jonathan>
Fri May 3 09:33:00 GMT 2002
It looks like this old bug hasn't been updated in the CVS tree.
Could someone knock this one out since it is causing a lot of problems
for new users. It's a one character change to the following file. Thanks.
/ecos/packages/redboot/current/src/net/net_io.c LINE 538
use_bootp = !CYGSEM_REDBOOT_DEFAULT_NO_BOOTP;
Park Jun-Ku wrote:
> > I want to disable bootp.
> So, disabled options that "Do not try to use BOOTP".
> > And it did generate
> #define CYGSEM_REDBOOT_DEFAULT_NO_BOOTP 1
> > But, code in redboot/src/net_io.c says that
> #ifdef CYGSEM_REDBOOT_DEFAULT_NO_BOOTP
> use_bootp = CYGSEM_REDBOOT_DEFAULT_NO_BOOTP;
> use_bootp = true;
> > And the code says that always use bootp.
> > So, I modified the code.
> use_bootp = !CYGSEM_REDBOOT_DEFAULT_NO_BOOTP;
> > Did I correctly modify it ?
Yes. I'll do the same in the main sources. Thanks for the feedback!
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
More information about the Ecos-discuss