Changeset 5953 for source/ariba/overlay
- Timestamp:
- Aug 14, 2009, 2:17:07 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/overlay/OverlayBootstrap.cpp
r5860 r5953 175 175 } 176 176 177 // TODO: --> SIGCOMM hack <-- 178 // if we have no overlay neighbors, make sure sdp is loaded 179 // sdp searching is turned off when we have bootstrapped 180 if(overlay->getOverlayNeighbors().size() > 0){ 181 182 // switch off sdp when we we _are_ in the spovnet already 183 if(manager.isModuleRegistered(BootstrapManager::BootstrapTypeBluetoothSdp)) 184 manager.unregisterModule(BootstrapManager::BootstrapTypeBluetoothSdp); 185 186 return; 187 } 188 189 // make sure sdp is running when we are _not_ in the spovnet 190 if(!manager.isModuleRegistered(BootstrapManager::BootstrapTypeBluetoothSdp)) 191 manager.registerModule(BootstrapManager::BootstrapTypeBluetoothSdp); 192 193 // 177 194 // we have overlay neighbors -> ok 178 if(overlay->getOverlayNeighbors().size() > 0) return;195 // 179 196 180 197 logging_info("overlay not joined, checking for earlier used bootstrap information");
Note:
See TracChangeset
for help on using the changeset viewer.