summaryrefslogtreecommitdiffstats
path: root/src/include/assert.h
diff options
context:
space:
mode:
authorMichael Brown2009-01-23 02:32:04 +0100
committerMichael Brown2009-01-23 02:32:04 +0100
commit773d9631efc872c172a126eb64332272e6970f0f (patch)
tree2fb4b55d8bd25f8a69f6a7f04e87133650f72b5c /src/include/assert.h
parent[dhcp] Pass PXE boot menu item to PXE Boot Server (diff)
downloadipxe-773d9631efc872c172a126eb64332272e6970f0f.tar.gz
ipxe-773d9631efc872c172a126eb64332272e6970f0f.tar.xz
ipxe-773d9631efc872c172a126eb64332272e6970f0f.zip
[dhcp] Handle missing ProxyDHCP servers
It is possible to configure a DHCP server to hand out PXE options without a ProxyDHCP server present. This requires setting option 60 to "PXEClient", which will cause gPXE to attempt ProxyDHCP. We assume in several places that dhcp->proxydhcpack is set to the DHCPACK packet containing option 60 set to "PXEClient". When we transition into ProxyDHCPREQUEST, set dhcp->proxydhcpack=dhcp->dhcpack so that this assumption holds true. We ought to rename several references to "proxydhcp" to something more accurate, such as "pxedhcp". Treating a single DHCP response as potentially both DHCPOFFER and ProxyDHCPOFFER does make the code smaller, but the variable names get confusing.
Diffstat (limited to 'src/include/assert.h')
0 files changed, 0 insertions, 0 deletions