Ignore:
Timestamp:
Jul 31, 2009, 7:02:23 PM (15 years ago)
Author:
mies
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/overlay/BaseOverlay.cpp

    r5548 r5554  
    205205}
    206206
    207 LinkDescriptor* BaseOverlay::getSendDescriptor( const NodeID& nodeid ) {
     207LinkDescriptor* BaseOverlay::getSendDescriptor( const NodeID& nodeid, bool follow ) {
    208208        for (size_t i=0; i<links.size(); i++)
    209209                if ( !links[i]->relay &&
     
    216216                }
    217217        LinkDescriptor* ld = getDescriptor(overlayInterface->getNextLinkId(nodeid));
    218         if (ld != NULL && ld->relay)
    219                 return getRelayDescriptor(ld->localRelay);
     218        if (ld != NULL && ld->relay && follow)
     219                return getSendDescriptor(ld->localRelay, false);
    220220        return NULL;
    221221}
Note: See TracChangeset for help on using the changeset viewer.