mirror of
https://github.com/reactos/reactos.git
synced 2024-08-08 04:08:29 +00:00
[NETCFGX]
- Always flush default gateways because pOldConfig->Gw may be NULL if the adapter was DHCP configured svn path=/branches/wlan-bringup/; revision=54947
This commit is contained in:
parent
390f44b3f9
commit
36be6f512a
|
@ -3230,8 +3230,6 @@ INetCfgComponentControl_fnApplyRegistryChanges(
|
|||
}
|
||||
}
|
||||
|
||||
if (pOldConfig->Gw)
|
||||
{
|
||||
dwSize = 0;
|
||||
if (GetIpForwardTable(NULL, &dwSize, FALSE) == ERROR_INSUFFICIENT_BUFFER)
|
||||
{
|
||||
|
@ -3253,7 +3251,6 @@ INetCfgComponentControl_fnApplyRegistryChanges(
|
|||
CoTaskMemFree(pIpForwardTable);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (pCurrentConfig->Gw)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue