PXELINUX: Use the client-identifier instead when DHCP doesn't have a MAC. syslinux-3.50-pre10
authorH. Peter Anvin <hpa@zytor.com>
Sat, 12 May 2007 01:39:29 +0000 (18:39 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Sat, 12 May 2007 01:39:29 +0000 (18:39 -0700)
commit66c18ce768b581fd1ace404a070f6bc53ea1b9fe
treee499cd3093dab3b821044f0a86522a0b16c8d740
parent8f9c46ff526b67d203f25a9a1efa995944aa1b23
PXELINUX: Use the client-identifier instead when DHCP doesn't have a MAC.

For networks without a stable MAC, or where the MAC is just way too long,
the MAC length in the DHCP header is zero and we are supposed to use
the client-identifier instead.  Use that as the "interface address"
for the purpose of getting the config file and in the BOOTIF= option.

Right now I have a limit (MAC_MAX) of 32 bytes for this; since that
turns into a 99-character filename.

While we're at it, clean up the parsing of DHCP config options.
NEWS
pxelinux.asm