From: Michael Chang Date: Thu, 21 Jul 2016 01:58:44 +0000 (+0800) Subject: Fix IPv6 HTTPClient vendor class data X-Git-Tag: edk2-stable201903~6231 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=c243b7443213cce5c13389fa61660b8d8cc3c6dd Fix IPv6 HTTPClient vendor class data The size of the ClassIdentifier is apparently wrong in the structure. In my testing it caused the vendor class data to be displayed as bogus "HTTPClient:Arch00016x:UNDI00300". After correcting the size the vendor class data is "HTTPClient:Arch00016:UNDI003000" which looks good to me. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Michael Chang Reviewed-by: Zhang Lubo Reviewed-by: Wu Jiaxin --- diff --git a/NetworkPkg/HttpBootDxe/HttpBootDhcp6.h b/NetworkPkg/HttpBootDxe/HttpBootDhcp6.h index f9eec9d7d3..14d6db0648 100644 --- a/NetworkPkg/HttpBootDxe/HttpBootDhcp6.h +++ b/NetworkPkg/HttpBootDxe/HttpBootDhcp6.h @@ -50,7 +50,7 @@ typedef struct { } HTTP_BOOT_DHCP6_OPTION_ARCH; typedef struct { - UINT8 ClassIdentifier[10]; + UINT8 ClassIdentifier[11]; UINT8 ArchitecturePrefix[5]; UINT8 ArchitectureType[5]; UINT8 Lit3[1];