Changeset 4837 for source


Ignore:
Timestamp:
Jul 9, 2009, 2:05:23 PM (15 years ago)
Author:
Christoph Mayer
Message:

weiterer ablauf bootstrapping

File:
1 edited

Legend:

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

    r4836 r4837  
    7777        if(name.length() <= 0 || info1.length() <= 0 || info2.length() <= 0 || info3.length() <= 0) return;
    7878
     79        //
     80        // generate the types
     81        //
     82
    7983        SpoVNetID sid( info1 );
    8084        NodeID nid( info2 );
    8185        EndpointDescriptor ep( info3 );
    8286
    83         logging_debug("XXXXXXXXXXXXXXXXXXX found bootstrap info: " << name << ", " << info1 << ", " << info2 << ", " << info3);
     87        //
     88        // is this announcement of interest for us?
     89        //
     90
     91        if( sid != spovnetid )
     92                return;
     93
     94        logging_info( "found bootstrap node for our SpoVNetID" << sid.toString()
     95                        << " on NodeID " << nid << " and endpoint " << ep.toString() );
    8496}
    8597
Note: See TracChangeset for help on using the changeset viewer.