Commit 00a961c5 authored by Guido Barzini's avatar Guido Barzini Committed by Alexandre Julliard

iphlpapi: Restore lost initialisation of ptr->AddressLength in GetAdaptersInfo.

parent e5488648
......@@ -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];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment