Unable to get IP address using do_bootp (found a bug in do_bootp!)

agyhoo agyhoo@yahoo.com
Mon Mar 29 15:32:00 GMT 2004


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



More information about the Ecos-patches mailing list