iphlpapi: Set the adapter's description to its name in GetAdaptersInfo.

This commit is contained in:
Juan Lang 2008-05-20 12:38:12 -07:00 committed by Alexandre Julliard
parent 8019c55cc6
commit 199cee194f
1 changed files with 1 additions and 0 deletions

View File

@ -738,6 +738,7 @@ DWORD WINAPI GetAdaptersInfo(PIP_ADAPTER_INFO pAdapterInfo, PULONG pOutBufLen)
/* on Win98 this is left empty, but whatever */
getInterfaceNameByIndex(table->indexes[ndx], ptr->AdapterName);
getInterfaceNameByIndex(table->indexes[ndx], ptr->Description);
ptr->AddressLength = sizeof(ptr->Address);
getInterfacePhysicalByIndex(table->indexes[ndx],
&ptr->AddressLength, ptr->Address, &ptr->Type);