Changeset 5877 for source/ariba/overlay/modules/chord
- Timestamp:
- Aug 12, 2009, 10:00:30 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/overlay/modules/chord/Chord.cpp
r5876 r5877 348 348 case Discovery::successor: 349 349 case Discovery::predecessor: { 350 // reached destination? no->forward! 351 if (m->getDestinationNode() != nodeid) { 352 OverlayMsg omsg(*m); 353 omsg.encapsulate(dmsg); 354 omsg.setService(OverlayInterface::OVERLAY_SERVICE_ID); 355 omsg.setRelayed(true); 356 baseoverlay.send(&omsg, omsg.getDestinationNode()); 357 break; 358 } 359 350 360 // time to live ended? yes-> stop routing 351 361 if (dmsg->getTTL() == 0 || dmsg->getTTL() > 10) break;
Note:
See TracChangeset
for help on using the changeset viewer.