Author: cgutman
Date: Fri Jan 13 20:55:26 2012
New Revision: 54942
URL:
http://svn.reactos.org/svn/reactos?rev=54942&view=rev
Log:
[IPHLPAPI]
- Store the NTEContext in the IP address list so netcfgx can remove IP addresses
- Fixes routing after manually setting an IP address
Modified:
branches/wlan-bringup/dll/win32/iphlpapi/iphlpapi_main.c
Modified: branches/wlan-bringup/dll/win32/iphlpapi/iphlpapi_main.c
URL:
http://svn.reactos.org/svn/reactos/branches/wlan-bringup/dll/win32/iphlpapi…
==============================================================================
--- branches/wlan-bringup/dll/win32/iphlpapi/iphlpapi_main.c [iso-8859-1] (original)
+++ branches/wlan-bringup/dll/win32/iphlpapi/iphlpapi_main.c [iso-8859-1] Fri Jan 13
20:55:26 2012
@@ -639,6 +639,7 @@
ptr->IpAddressList.IpAddress.String);
toIPAddressString(getInterfaceMaskByIndex(table->indexes[ndx]),
ptr->IpAddressList.IpMask.String);
+ ptr->IpAddressList.Context = ptr->Index;
toIPAddressString(getInterfaceGatewayByIndex(table->indexes[ndx]),
ptr->GatewayList.IpAddress.String);
getDhcpInfoForAdapter(table->indexes[ndx], &dhcpEnabled,