소스 검색

Build fix.

Adam Ierymenko 4 년 전
부모
커밋
4e3a59f329
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      service/OneService.cpp

+ 2 - 2
service/OneService.cpp

@@ -2002,11 +2002,11 @@ public:
 			// 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) {
 				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) {
 				if (r->second->via())
-					n->second->sync();
+					r->second->sync();
 			}
 		}