Changeset 5885 for source/ariba/overlay/modules/chord
- Timestamp:
- Aug 12, 2009, 3:06:27 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.