diff --git a/dlls/netprofm/list.c b/dlls/netprofm/list.c index 40e03cb94f7..e6819185f22 100644 --- a/dlls/netprofm/list.c +++ b/dlls/netprofm/list.c @@ -18,8 +18,6 @@ */ #define COBJMACROS -#define NONAMELESSUNION -#define NONAMELESSSTRUCT #include #include "windef.h" @@ -1769,7 +1767,7 @@ static void init_networks( struct list_manager *mgr ) struct connection *connection; NET_LUID luid; - ConvertInterfaceIndexToLuid(aa->u.s.IfIndex, &luid); + ConvertInterfaceIndexToLuid(aa->IfIndex, &luid); ConvertInterfaceLuidToGuid(&luid, &id); /* assume a one-to-one mapping between networks and connections */