mirror of
https://github.com/reactos/reactos.git
synced 2024-08-28 22:28:36 +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
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue