[client] Apply routes right away instead of on peer connection (#3907)

This commit is contained in:
Viktor Liu
2025-06-03 10:53:39 +02:00
committed by GitHub
parent 1ce4ee0cef
commit 06980e7fa0
8 changed files with 349 additions and 265 deletions

View File

@@ -489,7 +489,7 @@ func (s *DefaultServer) applyHostConfig() {
}
}
log.Debugf("extra match domains: %v", s.extraDomains)
log.Debugf("extra match domains: %v", maps.Keys(s.extraDomains))
if err := s.hostManager.applyDNSConfig(config, s.stateManager); err != nil {
log.Errorf("failed to apply DNS host manager update: %v", err)