This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: To diable bootp.
- From: Jonathan Larmour <jlarmour at redhat dot com>
- To: Park Jun-Ku <hwatk at madang dot ajou dot ac dot kr>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Tue, 05 Feb 2002 14:10:27 +0000
- Subject: Re: [ECOS] To diable bootp.
- Organization: Red Hat UK Ltd.
- References: <008d01c1ad94$1d6e7db0$8dc66bd2@Eihwatk>
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;
> #else
> use_bootp = true;
> #endif
>
> 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!
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine