Changeset 3374 for source/ariba/Node.cpp


Ignore:
Timestamp:
May 7, 2009, 4:51:31 PM (15 years ago)
Author:
Christoph Mayer
Message:

-Integration of Branch 20090424-mayer-sideport

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/Node.cpp

    r3071 r3374  
    146146
    147147bool Node::bind(CommunicationListener* listener, const ServiceID& sid) {
    148         return base_overlay->bind(listener, sid);
     148        // bind the listener
     149        bool ret = base_overlay->bind(listener, sid);
     150
     151        // now that we have a listener, we can ask if sniffing is ok
     152        if( ariba_mod.sideport_sniffer != NULL ){
     153                bool allow = listener->onEnableSideportListener();
     154                base_overlay->registerSidePort(ariba_mod.sideport_sniffer);
     155        }
     156
     157        return ret;
    149158}
    150159
Note: See TracChangeset for help on using the changeset viewer.