summaryrefslogtreecommitdiffstats
path: root/NetworkPkg/HttpBootDxe
diff options
context:
space:
mode:
authorMichael Chang <mchang@suse.com>2016-07-21 09:58:44 +0800
committerJiaxin Wu <jiaxin.wu@intel.com>2016-07-22 10:16:49 +0800
commitc243b7443213cce5c13389fa61660b8d8cc3c6dd (patch)
tree1cba58284b9689969ad0ae0a2ae621144f74f7b5 /NetworkPkg/HttpBootDxe
parent76bfc7e3ea136412808ad4cf54471c651bdec464 (diff)
downloadedk2-c243b7443213cce5c13389fa61660b8d8cc3c6dd.tar.gz
edk2-c243b7443213cce5c13389fa61660b8d8cc3c6dd.tar.bz2
edk2-c243b7443213cce5c13389fa61660b8d8cc3c6dd.zip
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 <mchang@suse.com> Reviewed-by: Zhang Lubo <lubo.zhang@intel.com> Reviewed-by: Wu Jiaxin <jiaxin.wu@intel.com>
Diffstat (limited to 'NetworkPkg/HttpBootDxe')
-rw-r--r--NetworkPkg/HttpBootDxe/HttpBootDhcp6.h2
1 files changed, 1 insertions, 1 deletions
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];