From 4e3a59f3293a5290ab17d30f619d32f45276800e Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Fri, 13 Nov 2020 21:21:28 -0500 Subject: [PATCH] Build fix. --- service/OneService.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/service/OneService.cpp b/service/OneService.cpp index aef2584f7..4c977c6f7 100644 --- a/service/OneService.cpp +++ b/service/OneService.cpp @@ -2002,11 +2002,11 @@ public: // that do not yet have routes in the system. for(std::map< InetAddress, SharedPtr >::iterator r(n.managedRoutes.begin());r!=n.managedRoutes.end();++r) { if (!r->second->via()) - n->second->sync(); + r->second->sync(); } for(std::map< InetAddress, SharedPtr >::iterator r(n.managedRoutes.begin());r!=n.managedRoutes.end();++r) { if (r->second->via()) - n->second->sync(); + r->second->sync(); } }