mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
- delete DhcpNameServer key when storing static Nameserver entries
svn path=/trunk/; revision=36890
This commit is contained in:
@@ -3194,6 +3194,7 @@ INetCfgComponentControl_fnApplyRegistryChanges(
|
||||
if(pStr)
|
||||
{
|
||||
RegSetValueExW(hKey, L"NameServer", 0, REG_SZ, (LPBYTE)pStr, dwSize);
|
||||
RegDeleteValueW(hKey, L"DhcpNameServer");
|
||||
CoTaskMemFree(pStr);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user