iphlpapi: Set the adapter's description to its name in GetAdaptersInfo.
This commit is contained in:
parent
8019c55cc6
commit
199cee194f
|
@ -738,6 +738,7 @@ DWORD WINAPI GetAdaptersInfo(PIP_ADAPTER_INFO pAdapterInfo, PULONG pOutBufLen)
|
||||||
|
|
||||||
/* on Win98 this is left empty, but whatever */
|
/* on Win98 this is left empty, but whatever */
|
||||||
getInterfaceNameByIndex(table->indexes[ndx], ptr->AdapterName);
|
getInterfaceNameByIndex(table->indexes[ndx], ptr->AdapterName);
|
||||||
|
getInterfaceNameByIndex(table->indexes[ndx], ptr->Description);
|
||||||
ptr->AddressLength = sizeof(ptr->Address);
|
ptr->AddressLength = sizeof(ptr->Address);
|
||||||
getInterfacePhysicalByIndex(table->indexes[ndx],
|
getInterfacePhysicalByIndex(table->indexes[ndx],
|
||||||
&ptr->AddressLength, ptr->Address, &ptr->Type);
|
&ptr->AddressLength, ptr->Address, &ptr->Type);
|
||||||
|
|
Loading…
Reference in New Issue