cmd/cli: add split route AD domain on Windows

This commit is contained in:
Cuong Manh Le
2024-09-17 14:50:31 +07:00
committed by Cuong Manh Le
parent 282a8ce78e
commit ede354166b
3 changed files with 54 additions and 0 deletions
+1
View File
@@ -435,6 +435,7 @@ func (p *prog) run(reload bool, reloadCh chan struct{}) {
for listenerNum := range p.cfg.Listener {
p.cfg.Listener[listenerNum].Init()
addExtraSplitDnsRule(p.cfg.Listener[listenerNum])
if !reload {
go func(listenerNum string) {
listenerConfig := p.cfg.Listener[listenerNum]