Build fix.

This commit is contained in:
Adam Ierymenko 2020-11-13 21:21:28 -05:00
parent 3730917dda
commit 4e3a59f329

View File

@ -2002,11 +2002,11 @@ public:
// that do not yet have routes in the system. // that do not yet have routes in the system.
for(std::map< InetAddress, SharedPtr<ManagedRoute> >::iterator r(n.managedRoutes.begin());r!=n.managedRoutes.end();++r) { for(std::map< InetAddress, SharedPtr<ManagedRoute> >::iterator r(n.managedRoutes.begin());r!=n.managedRoutes.end();++r) {
if (!r->second->via()) if (!r->second->via())
n->second->sync(); r->second->sync();
} }
for(std::map< InetAddress, SharedPtr<ManagedRoute> >::iterator r(n.managedRoutes.begin());r!=n.managedRoutes.end();++r) { for(std::map< InetAddress, SharedPtr<ManagedRoute> >::iterator r(n.managedRoutes.begin());r!=n.managedRoutes.end();++r) {
if (r->second->via()) if (r->second->via())
n->second->sync(); r->second->sync();
} }
} }