[dhcp] Automatically generate vendor class identifier string
authorMichael Brown <mcb30@ipxe.org>
Mon, 4 Jul 2016 14:07:05 +0000 (15:07 +0100)
committerMichael Brown <mcb30@ipxe.org>
Mon, 4 Jul 2016 14:07:05 +0000 (15:07 +0100)
commitaeb62038119f1988b06fa6a55a74d3db65c64d79
treeebc9d4c6f06f6af2de4e22d437815fbfd0ebe6fc
parentd7f1834b5e57649d003d89bd4c4bd7d7061b62d0
[dhcp] Automatically generate vendor class identifier string

The vendor class identifier strings in DHCP_ARCH_VENDOR_CLASS_ID are
out of sync with the (correct) client architecture values in
DHCP_ARCH_CLIENT_ARCHITECTURE.

Fix by removing all definitions of DHCP_ARCH_VENDOR_CLASS_ID, and
instead generating the vendor class identifier string automatically
based on DHCP_ARCH_CLIENT_ARCHITECTURE and DHCP_ARCH_CLIENT_NDI.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/arch/arm32/include/efi/ipxe/dhcp_arch.h
src/arch/arm64/include/efi/ipxe/dhcp_arch.h
src/arch/i386/include/efi/ipxe/dhcp_arch.h
src/arch/i386/include/pcbios/ipxe/dhcp_arch.h
src/arch/x86_64/include/efi/ipxe/dhcp_arch.h
src/arch/x86_64/include/pcbios/ipxe/dhcp_arch.h
src/include/ipxe/dhcp.h
src/net/udp/dhcp.c
src/net/udp/dhcpv6.c