[pxe] If no ProxyDHCPACK exists, use DHCPACK for the fake ProxyDHCPACK packet
authorMichael Brown <mcb30@etherboot.org>
Sat, 2 Aug 2008 02:03:42 +0000 (03:03 +0100)
committerMichael Brown <mcb30@etherboot.org>
Sat, 2 Aug 2008 02:03:42 +0000 (03:03 +0100)
commitf178436bb1be3cb312e9904da89ab42ccb3a976b
tree0a1a807a31fb11a12b3fa06ce1ebe339ad09d762
parented73d535032c39914b2dbdfeff7259f15938f15b
[pxe] If no ProxyDHCPACK exists, use DHCPACK for the fake ProxyDHCPACK packet

WinPE seems to have a bug that causes it to always use the TFTP server
IP address and filename from the ProxyDHCPACK packet, even if the
ProxyDHCPACK packet doesn't exist.  This causes it to end up
attempting to fetch a file such as

  tftp://0.0.0.0/bootmgr.exe

If we don't have a ProxyDHCPACK to use, we pretend that it was a copy
of the DHCPACK packet.  This works around the problem, and hopefully
won't surprise any NBPs.
src/net/fakedhcp.c