]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[dhcp] Honor PXEBS_SKIP option in discovery control
authorJoshua Oreman <oremanj@rwcr.net>
Tue, 25 May 2010 20:17:40 +0000 (16:17 -0400)
committerMichael Brown <mcb30@ipxe.org>
Thu, 27 May 2010 00:18:26 +0000 (01:18 +0100)
commit620b98ee4b9d8fa87c56bfa72b4391c1eed9dce6
treeb61809446cecde7551611a088bd69595c6808cf1
parent723cfad316c1fa9b0333bbc0f2059283499525f0
[dhcp] Honor PXEBS_SKIP option in discovery control

It is permissible for a DHCP packet containing PXE options to specify
only "discovery control", instead of the more typical boot menu +
prompt options. This is the strategy used by older versions of
dnsmasq; by specifying the discovery control as PXEBS_SKIP, they cause
vendor PXE ROMs to ignore boot server discovery and just use the
filename and next-server options in the initial (Proxy)DHCP packet.
Modify iPXE to accept this behavior, to be more compatible with the
Intel firmware.

Signed-off-by: Joshua Oreman <oremanj@rwcr.net>
Tested-by: Kyle Kienapfel <kyle@shadowmage.org>
Modified-by: Michael Brown <mcb30@ipxe.org>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/net/udp/dhcp.c