diff options
author | Michael Brown <mcb30@ipxe.org> | 2016-07-04 15:07:05 +0100 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2016-07-04 15:07:05 +0100 |
commit | aeb62038119f1988b06fa6a55a74d3db65c64d79 (patch) | |
tree | ebc9d4c6f06f6af2de4e22d437815fbfd0ebe6fc /src/arch/arm32/include | |
parent | d7f1834b5e57649d003d89bd4c4bd7d7061b62d0 (diff) | |
download | ipxe-aeb62038119f1988b06fa6a55a74d3db65c64d79.tar.gz |
[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>
Diffstat (limited to 'src/arch/arm32/include')
-rw-r--r-- | src/arch/arm32/include/efi/ipxe/dhcp_arch.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/arch/arm32/include/efi/ipxe/dhcp_arch.h b/src/arch/arm32/include/efi/ipxe/dhcp_arch.h index e971955ba..29a235944 100644 --- a/src/arch/arm32/include/efi/ipxe/dhcp_arch.h +++ b/src/arch/arm32/include/efi/ipxe/dhcp_arch.h @@ -33,11 +33,6 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); #include <ipxe/dhcp.h> -#define DHCP_ARCH_VENDOR_CLASS_ID \ - 'P', 'X', 'E', 'C', 'l', 'i', 'e', 'n', 't', ':', \ - 'A', 'r', 'c', 'h', ':', '0', '0', '0', '0', '7', ':', \ - 'U', 'N', 'D', 'I', ':', '0', '0', '3', '0', '1', '0' - #define DHCP_ARCH_CLIENT_ARCHITECTURE DHCP_CLIENT_ARCHITECTURE_ARM32 #define DHCP_ARCH_CLIENT_NDI 1 /* UNDI */ , 3, 10 /* v3.10 */ |