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: Unable to get IP address using do_bootp (found a bug in do_bootp!)


While trying to debug why I was not able to get an IP
address using do_bootp, I discovered that the do_bootp
routine does NOT set the broadcast flag in the flags
field of the bootp protocol header. This is required
per the BOOTP protocol.

I corrected the problem by adding the following
statement in the do_bootp routine just before transmitting
the BOOTP_REQUEST packet.

bootp_xmit.bp_flags = htons(0x8000); // BROADCAST FLAG

Can this fix be rolled into the CVS repository? Thanks.

- Anunoy



__________________________________
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


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