iphlpapi: Make the interface guids more unique.
Signed-off-by: Isabella Bosia <ibosia@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
dea32fa004
commit
44ef8eaf58
|
@ -3207,6 +3207,7 @@ DWORD WINAPI ConvertInterfaceLuidToGuid(const NET_LUID *luid, GUID *guid)
|
|||
|
||||
memset( guid, 0, sizeof(*guid) );
|
||||
guid->Data1 = luid->Info.NetLuidIndex;
|
||||
memcpy( guid->Data4+2, "NetDev", 6 );
|
||||
return NO_ERROR;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue