mirror of
https://github.com/2dust/v2rayN.git
synced 2026-02-28 21:23:04 +00:00
Compare commits
1 commit
90860a28c6
...
44c9c7c8be
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
44c9c7c8be |
1 changed files with 0 additions and 4 deletions
|
|
@ -348,10 +348,6 @@ public partial class CoreConfigSingboxService
|
||||||
private void GenMinimizedDns()
|
private void GenMinimizedDns()
|
||||||
{
|
{
|
||||||
GenDnsServers();
|
GenDnsServers();
|
||||||
foreach (var server in _coreConfig.dns!.servers.Where(s => !string.IsNullOrEmpty(s.detour)).ToList())
|
|
||||||
{
|
|
||||||
_coreConfig.dns.servers.Remove(server);
|
|
||||||
}
|
|
||||||
_coreConfig.dns ??= new();
|
_coreConfig.dns ??= new();
|
||||||
_coreConfig.dns.rules ??= [];
|
_coreConfig.dns.rules ??= [];
|
||||||
_coreConfig.dns.rules.Clear();
|
_coreConfig.dns.rules.Clear();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue