Changeset 5487 for source/ariba/overlay/BaseOverlay.cpp
- Timestamp:
- Jul 30, 2009, 4:18:17 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/overlay/BaseOverlay.cpp
r5484 r5487 205 205 seqnum_t BaseOverlay::sendOverlay( Message* message, const NodeID& nodeid ) { 206 206 for (size_t i=0; i<links.size(); i++) 207 if ( links[i]->up && 208 links[i]->communicationUp && 209 !links[i]->relay && 210 links[i]->keepAliveMissed <= 1 && 211 links[i]->remoteNode == nodeid && 212 links[i]->service == OverlayInterface::OVERLAY_SERVICE_ID) { 207 if ( !links[i]->relay && 208 links[i]->up && 209 links[i]->communicationUp && 210 links[i]->keepAliveMissed <= 1 && 211 links[i]->remoteNode == nodeid && 212 links[i]->service == OverlayInterface::OVERLAY_SERVICE_ID) { 213 links[i]->markAsRelay(); 213 214 return sendMessage( message, links[i] ); 214 215 break; … … 1574 1575 BOOST_FOREACH( const LinkDescriptor* ld, oldlinks ) { 1575 1576 1577 if (ld->up!=1) continue; 1578 1576 1579 vector<LinkID>::iterator it = std::find( 1577 1580 bootstrapLinks.begin(), bootstrapLinks.end(), ld->communicationId);
Note:
See TracChangeset
for help on using the changeset viewer.