cmd/cli: write auto split rule for AD to config file

This commit is contained in:
Cuong Manh Le
2024-09-24 15:09:05 +07:00
committed by Cuong Manh Le
parent 4befd33866
commit ce353cd4d9
4 changed files with 15 additions and 13 deletions
-1
View File
@@ -439,7 +439,6 @@ 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]