Changeset 5944 for source/ariba


Ignore:
Timestamp:
Aug 14, 2009, 10:19:10 AM (15 years ago)
Author:
Christoph Mayer
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/SideportListener.cpp

    r5920 r5944  
    110110        if( overlay == NULL ) return false;
    111111
     112        vector<NodeID> directnodes;
    112113        BOOST_FOREACH( LinkDescriptor* link, overlay->links ){
    113                 if( link->relaying && link->remoteNode == node && link->up)
    114                         return true;
     114                if(link == NULL) continue;
     115
     116                BOOST_FOREACH(Node route, link->routeRecord){
     117                        if(route == node) return false;
     118                }
    115119        }
    116120
Note: See TracChangeset for help on using the changeset viewer.