Changeset 5670 for source/ariba/overlay/modules/chord
- Timestamp:
- Aug 4, 2009, 4:53:41 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/overlay/modules/chord/Chord.cpp
r5668 r5670 125 125 dmsg.setTTL((uint8_t)2); 126 126 cmsg.encapsulate(&dmsg); 127 send(& dmsg, lnk);127 send(&cmsg, lnk); 128 128 } 129 129 { … … 135 135 dmsg.setTTL((uint8_t)2); 136 136 cmsg.encapsulate(&dmsg); 137 send(& dmsg, lnk);137 send(&cmsg, lnk); 138 138 } 139 139 } … … 453 453 if (table->get_successor() != NULL) { 454 454 route_item* succ_item = table->get(*table->get_successor()); 455 discover_neighbors(succ_item->info);455 if (!succ_item->info.isUnspecified()) discover_neighbors(succ_item->info); 456 456 } 457 457 … … 459 459 if (table->get_predesessor() != NULL) { 460 460 route_item* pred_item = table->get(*table->get_predesessor()); 461 discover_neighbors(pred_item->info);461 if (!succ_item->info.isUnspecified()) discover_neighbors(pred_item->info); 462 462 } 463 463
Note:
See TracChangeset
for help on using the changeset viewer.