From 61fc2bf2e9719eb7ca9c56b6e186df2f79f05de7 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: There is typo in GetAdaptersAddresses windows library. It should be iphlpapi.dll --- evutil.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'evutil.c') diff --git a/evutil.c b/evutil.c index 17962548..eee970a4 100644 --- a/evutil.c +++ b/evutil.c @@ -879,7 +879,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; -- cgit v1.2.1