Ignore:
Timestamp:
Aug 4, 2009, 3:44:21 PM (15 years ago)
Author:
mies
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/overlay/modules/chord/detail/chord_routing_table.hpp

    r5663 r5665  
    248248
    249249        /// returns the next hop
    250         const item* get_next_hop( const nodeid_t& value ) {
     250        const item* get_next_hop( const nodeid_t& value, bool nts = false) {
    251251                ring_distance distance;
    252252                item* best_item = NULL;
    253253                for (size_t i=0; i<table.size(); i++) {
    254254                        item* curr = &table[i];
     255                        if (nts && curr->id == value) continue;
    255256
    256257                        // not not include orphans into routing!
Note: See TracChangeset for help on using the changeset viewer.