Author: janderwald
Date: Wed Oct 22 04:21:33 2008
New Revision: 36890
URL:
http://svn.reactos.org/svn/reactos?rev=36890&view=rev
Log:
- delete DhcpNameServer key when storing static Nameserver entries
Modified:
trunk/reactos/dll/win32/netcfgx/tcpipconf_notify.c
Modified: trunk/reactos/dll/win32/netcfgx/tcpipconf_notify.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netcfgx/tcpipcon…
==============================================================================
--- trunk/reactos/dll/win32/netcfgx/tcpipconf_notify.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/netcfgx/tcpipconf_notify.c [iso-8859-1] Wed Oct 22 04:21:33
2008
@@ -3194,6 +3194,7 @@
if(pStr)
{
RegSetValueExW(hKey, L"NameServer", 0, REG_SZ, (LPBYTE)pStr,
dwSize);
+ RegDeleteValueW(hKey, L"DhcpNameServer");
CoTaskMemFree(pStr);
}
}