Hans Leidekker : iphlpapi: Set the adapter LUID in GetAdaptersAddresses.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Aug 17 09:01:11 CDT 2015


Module: wine
Branch: master
Commit: bc334c679a852dc1f3fcb65dc0b659ee29389e49
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=bc334c679a852dc1f3fcb65dc0b659ee29389e49

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Fri Aug 14 14:58:41 2015 +0200

iphlpapi: Set the adapter LUID in GetAdaptersAddresses.

---

 dlls/iphlpapi/iphlpapi_main.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dlls/iphlpapi/iphlpapi_main.c b/dlls/iphlpapi/iphlpapi_main.c
index 4b1261a..e8daa8c 100644
--- a/dlls/iphlpapi/iphlpapi_main.c
+++ b/dlls/iphlpapi/iphlpapi_main.c
@@ -1003,6 +1003,8 @@ static ULONG adapterAddressesFromIndex(ULONG family, ULONG flags, IF_INDEX index
         aa->PhysicalAddressLength = buflen;
         aa->IfType = typeFromMibType(type);
         aa->ConnectionType = connectionTypeFromMibType(type);
+        aa->Luid.Info.NetLuidIndex = index;
+        aa->Luid.Info.IfType = aa->IfType;
 
         if (num_v4_gateways)
         {




More information about the wine-cvs mailing list