Apply DNS before routes to satisfy the dns route dependency

This commit is contained in:
Viktor Liu
2025-05-31 12:55:57 +02:00
parent d6444e14e4
commit bc71beca97
3 changed files with 10 additions and 11 deletions

View File

@@ -441,7 +441,6 @@ func (m *DefaultManager) TriggerSelection(networks route.HAMap) {
func (m *DefaultManager) stopObsoleteClients(networks route.HAMap) {
for id, client := range m.clientNetworks {
if _, ok := networks[id]; !ok {
log.Debugf("Stopping client network watcher, %s", id)
client.Stop()
delete(m.clientNetworks, id)
}