From 891adda9f15940e024854614de53ab11c247d50e Mon Sep 17 00:00:00 2001 From: Aleksandr-Melnikov <64836370+Aleksandr-Melnikov@users.noreply.github.com> Date: Tue, 5 May 2020 10:31:09 +0100 Subject: [PATCH] There is typo in GetAdaptersAddresses windows library. It should be iphlpapi.dll (cherry picked from commit 61fc2bf2e9719eb7ca9c56b6e186df2f79f05de7) --- evutil.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evutil.c b/evutil.c index a9c2d243..79107b99 100644 --- a/evutil.c +++ b/evutil.c @@ -698,7 +698,7 @@ evutil_check_ifaddrs(void) "GetAdaptersInfo", but that's deprecated; let's just try GetAdaptersAddresses and fall back to connect+getsockname. */ - HMODULE lib = evutil_load_windows_system_library_(TEXT("ihplapi.dll")); + HMODULE lib = evutil_load_windows_system_library_(TEXT("iphlpapi.dll")); GetAdaptersAddresses_fn_t fn; ULONG size, res; IP_ADAPTER_ADDRESSES *addresses = NULL, *address;