This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: To diable 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;
> #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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]