Module: wine
Branch: master
Commit: b3e7f710912388b4dca7de2d2e91a3cf8b225c6e
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b3e7f710912388b4dca7de2d2…
Author: Qian Hong <fracting(a)gmail.com>
Date: Thu Sep 27 23:14:32 2012 +0800
iphlpapi: Set DhcpEnabled to TRUE for all interfaces.
---
dlls/iphlpapi/iphlpapi_main.c | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/dlls/iphlpapi/iphlpapi_main.c b/dlls/iphlpapi/iphlpapi_main.c
index f3568b8..dae779c 100644
--- a/dlls/iphlpapi/iphlpapi_main.c
+++ b/dlls/iphlpapi/iphlpapi_main.c
@@ -598,6 +598,8 @@ DWORD WINAPI GetAdaptersInfo(PIP_ADAPTER_INFO pAdapterInfo, PULONG pOutBufLen)
ptr->Next = &pAdapterInfo[ndx + 1];
else
ptr->Next = NULL;
+
+ ptr->DhcpEnabled = TRUE;
}
ret = NO_ERROR;
}
@@ -2008,9 +2010,7 @@ DWORD WINAPI GetUniDirectionalAdapterInfo(PIP_UNIDIRECTIONAL_ADAPTER_ADDRESS pIP
*/
DWORD WINAPI IpReleaseAddress(PIP_ADAPTER_INDEX_MAP AdapterInfo)
{
- TRACE("AdapterInfo %p\n", AdapterInfo);
- /* not a stub, never going to support this (and I never mark an adapter as
- DHCP enabled, see GetAdaptersInfo, so this should never get called) */
+ FIXME("Stub AdapterInfo %p\n", AdapterInfo);
return ERROR_NOT_SUPPORTED;
}
@@ -2036,9 +2036,7 @@ DWORD WINAPI IpReleaseAddress(PIP_ADAPTER_INDEX_MAP AdapterInfo)
*/
DWORD WINAPI IpRenewAddress(PIP_ADAPTER_INDEX_MAP AdapterInfo)
{
- TRACE("AdapterInfo %p\n", AdapterInfo);
- /* not a stub, never going to support this (and I never mark an adapter as
- DHCP enabled, see GetAdaptersInfo, so this should never get called) */
+ FIXME("Stub AdapterInfo %p\n", AdapterInfo);
return ERROR_NOT_SUPPORTED;
}