Hi,

There is a typo in the name of the delay-loaded DLL "Iphlpapi.dll" in
misc/win32/misc.c. Due to this typo, the functions if_indextoname and
if_nametoindex are never called on Windows.

The attached patch fixes this issue.

-- 
Simon Atanasyan
VisualSVN Software Limited
Index: misc/win32/misc.c
===================================================================
--- misc/win32/misc.c   (revision 1933202)
+++ misc/win32/misc.c   (working copy)
@@ -111,7 +111,7 @@
     {NULL, L"ws2_32", INVALID_HANDLE_VALUE},
     {NULL, L"shell32", INVALID_HANDLE_VALUE},
     {NULL, L"ntdll.dll", INVALID_HANDLE_VALUE},
-    {NULL, L"Iphplapi", INVALID_HANDLE_VALUE},
+    {NULL, L"Iphlpapi", INVALID_HANDLE_VALUE},
     {L"api-ms-win-downlevel-shell32-l1-1-0.dll", L"shell32", 
INVALID_HANDLE_VALUE}
 };
 

Reply via email to