summaryrefslogtreecommitdiffstats
path: root/src/arch/arm64
diff options
context:
space:
mode:
authorMichael Brown2016-07-04 16:07:05 +0200
committerMichael Brown2016-07-04 16:07:05 +0200
commitaeb62038119f1988b06fa6a55a74d3db65c64d79 (patch)
treeebc9d4c6f06f6af2de4e22d437815fbfd0ebe6fc /src/arch/arm64
parent[dhcpv6] Include vendor class identifier option in DHCPv6 requests (diff)
downloadipxe-aeb62038119f1988b06fa6a55a74d3db65c64d79.tar.gz
ipxe-aeb62038119f1988b06fa6a55a74d3db65c64d79.tar.xz
ipxe-aeb62038119f1988b06fa6a55a74d3db65c64d79.zip
[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/arm64')
-rw-r--r--src/arch/arm64/include/efi/ipxe/dhcp_arch.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/arch/arm64/include/efi/ipxe/dhcp_arch.h b/src/arch/arm64/include/efi/ipxe/dhcp_arch.h
index 4ffea7f4..bb26aae4 100644
--- a/src/arch/arm64/include/efi/ipxe/dhcp_arch.h
+++ b/src/arch/arm64/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_ARM64
#define DHCP_ARCH_CLIENT_NDI 1 /* UNDI */ , 3, 10 /* v3.10 */