Skip to content
Snippets Groups Projects
Commit d82718fe authored by Wolfgang Denk's avatar Wolfgang Denk
Browse files

Make bootp implementation RFC3046 compliant

Patch by Joakim Larsson, 27 Jun 2006
parent 1d92b2e5
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,9 @@
Changes since U-Boot 1.1.4:
======================================================================
* Make bootp implementation RFC3046 compliant
Patch by Joakim Larsson, 27 Jun 2006
* TQM5200: perform POST memory test only on STK52xx carrier board.
(and then only if PSC6_3 is read as "1" when booting).
Patch by Martin Krause, 21 Jun 2006
......
......@@ -851,7 +851,12 @@ static void DhcpSendRequestPkt(Bootp_t *bp_offer)
NetCopyIP(&bp->bp_ciaddr, &bp_offer->bp_ciaddr); /* both in network byte order */
NetCopyIP(&bp->bp_yiaddr, &bp_offer->bp_yiaddr);
NetCopyIP(&bp->bp_siaddr, &bp_offer->bp_siaddr);
NetCopyIP(&bp->bp_giaddr, &bp_offer->bp_giaddr);
/*
* RFC3046 requires Relay Agents to discard packets with
* nonzero and offered giaddr
*/
NetWriteIP(&bp->bp_giaddr, 0);
memcpy (bp->bp_chaddr, NetOurEther, 6);
/*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment