diff --git a/dnsapi.dll b/dnsapi.dll index 6c2e3c7..5545397 100644 Binary files a/dnsapi.dll and b/dnsapi.dll differ diff --git a/source-code/source/PD-Loader/framework.h b/source-code/source/PD-Loader/framework.h index 4e01870..bfd3b3c 100644 --- a/source-code/source/PD-Loader/framework.h +++ b/source-code/source/PD-Loader/framework.h @@ -102,7 +102,7 @@ struct dnsapi_dll DnsQueryConfigDword = GetProcAddress(dll, "DnsQueryConfigDword"); DnsDhcpRemoveRegistrations = GetProcAddress(dll, "DnsDhcpRemoveRegistrations"); DnsDhcpRegisterInit = GetProcAddress(dll, "DnsDhcpRegisterInit"); - DnsDhcpRegisterInit = GetProcAddress(dll, "DnsDhcpRegisterAddrs"); + DnsDhcpRegisterAddrs = GetProcAddress(dll, "DnsDhcpRegisterAddrs"); // if entry points aren't found, GetProcAddress should return null // I hope this is correct diff --git a/source-code/source/fakedll/framework.h b/source-code/source/fakedll/framework.h index 4e01870..bfd3b3c 100644 --- a/source-code/source/fakedll/framework.h +++ b/source-code/source/fakedll/framework.h @@ -102,7 +102,7 @@ struct dnsapi_dll DnsQueryConfigDword = GetProcAddress(dll, "DnsQueryConfigDword"); DnsDhcpRemoveRegistrations = GetProcAddress(dll, "DnsDhcpRemoveRegistrations"); DnsDhcpRegisterInit = GetProcAddress(dll, "DnsDhcpRegisterInit"); - DnsDhcpRegisterInit = GetProcAddress(dll, "DnsDhcpRegisterAddrs"); + DnsDhcpRegisterAddrs = GetProcAddress(dll, "DnsDhcpRegisterAddrs"); // if entry points aren't found, GetProcAddress should return null // I hope this is correct