Skip to content

Commit a04c188

Browse files
committed
switch from dhcp://system to system://
1 parent e834d67 commit a04c188

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

core/src/main/golang/native/config/process.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ import (
1414
"github.com/metacubex/mihomo/log"
1515

1616
"github.com/metacubex/mihomo/config"
17-
"github.com/metacubex/mihomo/dns"
1817
)
1918

2019
var processors = []processor{
@@ -70,7 +69,7 @@ func patchDns(cfg *config.RawConfig, _ string) error {
7069
}
7170

7271
if cfg.ClashForAndroid.AppendSystemDNS {
73-
cfg.DNS.NameServer = append(cfg.DNS.NameServer, "dhcp://"+dns.SystemDNSPlaceholder)
72+
cfg.DNS.NameServer = append(cfg.DNS.NameServer, "system://")
7473
}
7574

7675
return nil

0 commit comments

Comments
 (0)