diff options
Diffstat (limited to 'MdeModulePkg/Universal/Network/ArpDxe/ArpImpl.c')
-rw-r--r-- | MdeModulePkg/Universal/Network/ArpDxe/ArpImpl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MdeModulePkg/Universal/Network/ArpDxe/ArpImpl.c b/MdeModulePkg/Universal/Network/ArpDxe/ArpImpl.c index aa4707294b..a3923d95bd 100644 --- a/MdeModulePkg/Universal/Network/ArpDxe/ArpImpl.c +++ b/MdeModulePkg/Universal/Network/ArpDxe/ArpImpl.c @@ -1617,7 +1617,7 @@ ArpFindCacheEntry ( //
// Set the fields in FindData.
//
- FindData->Size = *EntryLength;
+ FindData->Size = FoundEntryLength;
FindData->DenyFlag = (BOOLEAN)(CacheTable == &ArpService->DeniedCacheTable);
FindData->StaticFlag = (BOOLEAN)(CacheEntry->DefaultDecayTime == 0);
FindData->HwAddressType = ArpService->SnpMode.IfType;
@@ -1646,7 +1646,7 @@ ArpFindCacheEntry ( //
// Slip to the next FindData.
//
- FindData = (EFI_ARP_FIND_DATA *)((UINT8 *)FindData + *EntryLength);
+ FindData = (EFI_ARP_FIND_DATA *)((UINT8 *)FindData + FoundEntryLength);
}
CLEAN_EXIT:
|