mirror of
https://github.com/reactos/reactos.git
synced 2025-05-18 00:31:27 +00:00
[NETCFGX]
- Fix case where there is only one static dns server set svn path=/trunk/; revision=50258
This commit is contained in:
parent
3f0d2fffb3
commit
cbc098ed88
1 changed files with 9 additions and 1 deletions
|
@ -2867,8 +2867,16 @@ Initialize(TcpipConfNotifyImpl * This)
|
|||
}
|
||||
CoTaskMemFree(pPerInfo);
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!Info.AutoconfigActive)
|
||||
{
|
||||
CopyIpAddrString(&Info.DnsServerList, &pCurSettings->Ns, IPADDR, NULL);
|
||||
}
|
||||
pCurSettings->AutoconfigActive = Info.AutoconfigActive;
|
||||
}
|
||||
|
||||
if (FAILED(LoadFilterSettings(This)))
|
||||
return E_FAIL;
|
||||
|
||||
|
|
Loading…
Reference in a new issue