diff options
-rw-r--r-- | NetworkPkg/HttpBootDxe/HttpBootDhcp6.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/NetworkPkg/HttpBootDxe/HttpBootDhcp6.c b/NetworkPkg/HttpBootDxe/HttpBootDhcp6.c index d2960e4f6c..0157095edf 100644 --- a/NetworkPkg/HttpBootDxe/HttpBootDhcp6.c +++ b/NetworkPkg/HttpBootDxe/HttpBootDhcp6.c @@ -251,8 +251,8 @@ HttpBootParseDhcp6Packet ( Option = Options[HTTP_BOOT_DHCP6_IDX_VENDOR_CLASS];
if (Option != NULL &&
- NTOHS(Option->OpLen) >= 10 &&
- CompareMem (Option->Data, DEFAULT_CLASS_ID_DATA, 10) == 0) {
+ NTOHS(Option->OpLen) >= 16 &&
+ CompareMem ((Option->Data + 6), DEFAULT_CLASS_ID_DATA, 10) == 0) {
IsHttpOffer = TRUE;
}
|