Changeset 5884 for source/ariba/overlay/modules/chord
- Timestamp:
- Aug 12, 2009, 2:52:12 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/overlay/modules/chord/Chord.cpp
r5883 r5884 249 249 baseoverlay.dropLink(item->info); 250 250 item->info = lnk; 251 251 252 // discover neighbors of new overlay neighbor 252 discover_neighbors( lnk );253 253 showLinks(); 254 254 } else { // no-> add orphan entry to routing table 255 255 logging_info("new orphan: " << remote.toString() 256 256 << " with link " << lnk.toString()); 257 table->insert_orphan(remote)->info = lnk; 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; 258 263 } 259 264 … … 373 378 item = table->get(*table->get_predesessor()); 374 379 } 375 if (item == NULL) break; 380 if (item == NULL) 381 break; 382 376 383 logging_debug("Routing discovery message to succ/pred " 377 384 << item->id.toString() );
Note:
See TracChangeset
for help on using the changeset viewer.