Changeset 6832 for source


Ignore:
Timestamp:
Nov 5, 2009, 9:03:35 AM (15 years ago)
Author:
Christoph Mayer
Message:

-kleine fixes

Location:
source/ariba
Files:
4 edited

Legend:

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

    r6824 r6832  
    509509        if (destination == nodeId) {
    510510                logging_warn("Sent message to myself. Handling message.")
    511                                 Message msg;
     511                Message msg;
    512512                msg.encapsulate(message);
    513513                handleMessage( &msg, NULL );
     
    819819
    820820                // bootstrap against ourselfs
    821                 logging_debug("joining spovnet locally");
     821                logging_info("joining spovnet locally");
    822822
    823823                overlayInterface->joinOverlay();
     
    836836
    837837                // bootstrap against another node
    838                 logging_debug("joining spovnet remotely against " << bootstrapEp.toString());
     838                logging_info("joining spovnet remotely against " << bootstrapEp.toString());
    839839
    840840                const LinkID& lnk = bc->establishLink( bootstrapEp );
  • source/ariba/overlay/OverlayBootstrap.cpp

    r6211 r6832  
    7676        //manager.registerModule( BootstrapManager::BootstrapTypePeriodicBroadcast );
    7777        //manager.registerModule( BootstrapManager::BootstrapTypeBluetoothSdp );
    78         manager.registerModule( BootstrapManager::BootstrapTypeMulticastDns );
     78        //manager.registerModule( BootstrapManager::BootstrapTypeMulticastDns );
    7979
    8080        watchtimer.startWatchdog();
     
    9191        //manager.unregisterModule( BootstrapManager::BootstrapTypePeriodicBroadcast );
    9292        //manager.unregisterModule( BootstrapManager::BootstrapTypeBluetoothSdp );
    93         manager.unregisterModule( BootstrapManager::BootstrapTypeMulticastDns );
     93        //manager.unregisterModule( BootstrapManager::BootstrapTypeMulticastDns );
    9494
    9595        watchtimer.stopWatchdog();
  • source/ariba/overlay/modules/chord/Chord.cpp

    r6266 r6832  
    251251                                << " with link " << lnk.toString());
    252252                // replace with new link
    253                 if (!item->info.isUnspecified() || item->info!=lnk)
     253                if (item->info!=lnk && item->info.isUnspecified()==false)
    254254                        baseoverlay.dropLink(item->info);
    255255                item->info = lnk;
  • source/ariba/utility/logging/Logging.h

    r5638 r6832  
    4949
    5050  #define colorDefault { std::cout << "\033[0m";  } /*reset*/
    51   #define colorDebug   { std::cout << "\033[33m"; } /*cyan*/
    52   #define colorInfo    { std::cout << "\033[32m"; } /*green*/
    53   #define colorWarn    { std::cout << "\033[34m"; } /*blue*/
    54   #define colorError   { std::cout << "\033[31m"; } /*red*/
     51  #define colorDebug   { std::cout << "\033[0;33m"; } /*cyan*/
     52  #define colorInfo    { std::cout << "\033[0;32m"; } /*green*/
     53  #define colorWarn    { std::cout << "\033[0;34m"; } /*blue*/
     54  #define colorError   { std::cout << "\033[0;31m"; } /*red*/
    5555
    5656#else
Note: See TracChangeset for help on using the changeset viewer.