mirror of
https://github.com/reactos/reactos.git
synced 2026-09-13 21:29:18 +08: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