From 163933d4297589dc5a18abbf174715de4ab3efcf Mon Sep 17 00:00:00 2001 From: Zoltan Papp Date: Wed, 3 Jan 2024 11:54:19 +0100 Subject: [PATCH] Fix route change notifier (#1431) Compare the differences between the new routes and initial routes --- client/internal/routemanager/notifier.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/internal/routemanager/notifier.go b/client/internal/routemanager/notifier.go index e27d08db5..ede8f02c4 100644 --- a/client/internal/routemanager/notifier.go +++ b/client/internal/routemanager/notifier.go @@ -45,7 +45,7 @@ func (n *notifier) onNewRoutes(idMap map[string][]*route.Route) { } sort.Strings(newNets) - if !n.hasDiff(n.routeRangers, newNets) { + if !n.hasDiff(n.initialRouteRangers, newNets) { return }