Changeset 5717 for source/ariba/overlay
- Timestamp:
- Aug 5, 2009, 3:56:35 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/overlay/modules/chord/Chord.cpp
r5716 r5717 121 121 dmsg.setSourceEndpoint(&baseoverlay.getEndpointDescriptor()); 122 122 dmsg.setFollowType(Discovery::successor); 123 dmsg.setTTL((uint8_t) 1);123 dmsg.setTTL((uint8_t)5); 124 124 cmsg.encapsulate(&dmsg); 125 125 send(&cmsg, lnk); … … 131 131 dmsg.setSourceEndpoint(&baseoverlay.getEndpointDescriptor()); 132 132 dmsg.setFollowType(Discovery::predecessor); 133 dmsg.setTTL((uint8_t) 1);133 dmsg.setTTL((uint8_t)5); 134 134 cmsg.encapsulate(&dmsg); 135 135 send(&cmsg, lnk); … … 320 320 logging_debug("Route chord message to " 321 321 << item->id.toString() << " (destination=" << m->getDestination() << ")"); 322 ChordMessage cmsg(*m); 323 send(&cmsg, item->info); 322 send(m, item->info); 324 323 } 325 324 break; … … 435 434 void Chord::eventFunction() { 436 435 stabilize_counter++; 437 if (stabilize_counter < 0 || stabilize_counter == 2) {436 if (stabilize_counter < 0 || stabilize_counter == 3) { 438 437 439 438 // reset counter
Note:
See TracChangeset
for help on using the changeset viewer.