[NETCFGX]

- Fix case where there is only one static dns server set

svn path=/trunk/; revision=50258
This commit is contained in:
Johannes Anderwald 2011-01-01 21:34:17 +00:00
parent 3f0d2fffb3
commit cbc098ed88

View file

@ -2867,8 +2867,16 @@ Initialize(TcpipConfNotifyImpl * This)
} }
CoTaskMemFree(pPerInfo); CoTaskMemFree(pPerInfo);
} }
} }
else
{
if (!Info.AutoconfigActive)
{
CopyIpAddrString(&Info.DnsServerList, &pCurSettings->Ns, IPADDR, NULL);
}
pCurSettings->AutoconfigActive = Info.AutoconfigActive;
}
if (FAILED(LoadFilterSettings(This))) if (FAILED(LoadFilterSettings(This)))
return E_FAIL; return E_FAIL;