Changeset 5885
- Timestamp:
- Aug 12, 2009, 3:06:27 PM (15 years ago)
- Location:
- source/ariba/overlay
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/overlay/BaseOverlay.cpp
r5884 r5885 407 407 LinkID next_link = overlayInterface->getNextLinkId(message->getSourceNode()); 408 408 if (next_link == ld->overlayId) return; 409 ld->setRelaying(); 409 410 410 411 // try to find source node -
source/ariba/overlay/modules/chord/Chord.cpp
r5884 r5885 125 125 126 126 void Chord::discover_neighbors( const LinkID& link ) { 127 uint8_t ttl = 1;127 uint8_t ttl = 4; 128 128 { 129 129 // send predecessor discovery … … 255 255 logging_info("new orphan: " << remote.toString() 256 256 << " with link " << lnk.toString()); 257 item = table->insert_orphan(remote); 258 259 // replace with new link 260 if (!item->info.isUnspecified() || item->info!=lnk) 261 baseoverlay.dropLink(item->info); 262 item->info = lnk; 257 item = table->insert_orphan(remote)->info = lnk; 263 258 } 264 259
Note:
See TracChangeset
for help on using the changeset viewer.