mirror of
https://github.com/reactos/reactos.git
synced 2024-08-05 19:11:16 +00:00
- delete DhcpNameServer key when storing static Nameserver entries
svn path=/trunk/; revision=36890
This commit is contained in:
parent
04b274e07b
commit
0b9841ccba
|
@ -3194,6 +3194,7 @@ INetCfgComponentControl_fnApplyRegistryChanges(
|
|||
if(pStr)
|
||||
{
|
||||
RegSetValueExW(hKey, L"NameServer", 0, REG_SZ, (LPBYTE)pStr, dwSize);
|
||||
RegDeleteValueW(hKey, L"DhcpNameServer");
|
||||
CoTaskMemFree(pStr);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue