[ros-diffs] [cgutman] 54942: [IPHLPAPI] - Store the NTEContext in the IP address list so netcfgx can remove IP addresses - Fixes routing after manually setting an IP address

cgutman at svn.reactos.org cgutman at svn.reactos.org
Fri Jan 13 20:55:28 UTC 2012


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/iphlpapi_main.c?rev=54942&r1=54941&r2=54942&view=diff
==============================================================================
--- 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,




More information about the Ros-diffs mailing list