Changeset 5522


Ignore:
Timestamp:
Jul 31, 2009, 10:20:59 AM (15 years ago)
Author:
mies
Message:
 
File:
1 edited

Legend:

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

    r5521 r5522  
    7676LinkDescriptor* BaseOverlay::getAutoDescriptor( const NodeID& node, const ServiceID& service ) {
    7777        BOOST_FOREACH( LinkDescriptor* lp, links )
    78                 if (lp->autolink && lp->remoteNode == node && lp->service == service)
     78                if (lp->autolink && lp->remoteNode == node && lp->service == service && lp->up)
     79                        return lp;
     80        BOOST_FOREACH( LinkDescriptor* lp, links )
     81                if (lp->autolink && lp->remoteNode == node && lp->service == service )
    7982                        return lp;
    8083        return NULL;
Note: See TracChangeset for help on using the changeset viewer.