mirror of https://github.com/acidanthera/audk.git
Fixed a bug for OPTION_NII(62) defined in RFC 5970.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11116 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
5f88eebe2b
commit
852b634128
|
@ -97,7 +97,7 @@ PxeBcBuildDhcp6Options (
|
|||
// Append client network device interface option
|
||||
//
|
||||
OptList[Index]->OpCode = HTONS (PXEBC_DHCP6_OPT_UNDI);
|
||||
OptList[Index]->OpLen = HTONS ((UINT16) sizeof (PXEBC_DHCP6_OPTION_UNDI));
|
||||
OptList[Index]->OpLen = HTONS ((UINT16)3);
|
||||
OptEnt.Undi = (PXEBC_DHCP6_OPTION_UNDI *) OptList[Index]->Data;
|
||||
|
||||
if (Private->Nii != NULL) {
|
||||
|
@ -110,7 +110,6 @@ PxeBcBuildDhcp6Options (
|
|||
OptEnt.Undi->MinorVer = DEFAULT_UNDI_MINOR;
|
||||
}
|
||||
|
||||
OptEnt.Undi->Reserved = 0;
|
||||
Index++;
|
||||
OptList[Index] = GET_NEXT_DHCP6_OPTION (OptList[Index - 1]);
|
||||
|
||||
|
|
|
@ -85,7 +85,6 @@ typedef struct {
|
|||
UINT8 Type;
|
||||
UINT8 MajorVer;
|
||||
UINT8 MinorVer;
|
||||
UINT8 Reserved;
|
||||
} PXEBC_DHCP6_OPTION_UNDI;
|
||||
|
||||
typedef struct {
|
||||
|
|
Loading…
Reference in New Issue