]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[dhcp] Omit ProxyDHCPREQUEST if PXE options are present in ProxyDHCPOFFER
authorMichael Brown <mcb30@ipxe.org>
Fri, 8 Oct 2010 00:29:39 +0000 (01:29 +0100)
committerMichael Brown <mcb30@ipxe.org>
Fri, 8 Oct 2010 00:45:53 +0000 (01:45 +0100)
commit831106a8752fbb7157458339a1693de54b6ad43c
tree18093c78d4a1fb5d7d6fa6afbb843ce784f5d10e
parentba6aca342468811a40afb98aa1ba2ac9b36aa3b4
[dhcp] Omit ProxyDHCPREQUEST if PXE options are present in ProxyDHCPOFFER

Some ProxyDHCP implementations seem to violate the PXE specification
by expecting the client to retain options from the ProxyDHCPOFFER
rather than issuing a separate ProxyDHCPREQUEST.

Work around such broken clients by retaining the ProxyDHCPOFFER
packet, and proceeding to a ProxyDHCPREQUEST only if the
ProxyDHCPOFFER does not already contain PXE options.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/net/udp/dhcp.c