iphlpapi: Restore lost initialisation of ptr->AddressLength in GetAdaptersInfo.
This commit is contained in:
parent
e548864805
commit
00a961c5d4
|
@ -735,6 +735,7 @@ DWORD WINAPI GetAdaptersInfo(PIP_ADAPTER_INFO pAdapterInfo, PULONG pOutBufLen)
|
|||
|
||||
/* on Win98 this is left empty, but whatever */
|
||||
getInterfaceNameByIndex(table->indexes[ndx], ptr->AdapterName);
|
||||
ptr->AddressLength = sizeof(ptr->Address);
|
||||
getInterfacePhysicalByIndex(table->indexes[ndx],
|
||||
&ptr->AddressLength, ptr->Address, &ptr->Type);
|
||||
ptr->Index = table->indexes[ndx];
|
||||
|
|
Loading…
Reference in New Issue