mirror of
https://github.com/MetaCubeX/ClashMetaForAndroid.git
synced 2024-11-16 02:52:18 +08:00
switch from dhcp://system
to system://
This commit is contained in:
parent
e834d67922
commit
a04c1883fa
|
@ -14,7 +14,6 @@ import (
|
|||
"github.com/metacubex/mihomo/log"
|
||||
|
||||
"github.com/metacubex/mihomo/config"
|
||||
"github.com/metacubex/mihomo/dns"
|
||||
)
|
||||
|
||||
var processors = []processor{
|
||||
|
@ -70,7 +69,7 @@ func patchDns(cfg *config.RawConfig, _ string) error {
|
|||
}
|
||||
|
||||
if cfg.ClashForAndroid.AppendSystemDNS {
|
||||
cfg.DNS.NameServer = append(cfg.DNS.NameServer, "dhcp://"+dns.SystemDNSPlaceholder)
|
||||
cfg.DNS.NameServer = append(cfg.DNS.NameServer, "system://")
|
||||
}
|
||||
|
||||
return nil
|
||||
|
|
Loading…
Reference in New Issue
Block a user