mirror of
https://github.com/reactos/reactos.git
synced 2024-07-31 00:28:56 +00:00
[IPHLPAPI]
- Store the NTEContext in the IP address list so netcfgx can remove IP addresses - Fixes routing after manually setting an IP address svn path=/branches/wlan-bringup/; revision=54942
This commit is contained in:
parent
e1eb1ebd07
commit
456e73d4f5
|
@ -639,6 +639,7 @@ DWORD WINAPI GetAdaptersInfo(PIP_ADAPTER_INFO pAdapterInfo, PULONG pOutBufLen)
|
|||
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,
|
||||
|
|
Loading…
Reference in a new issue