Changeset 5678 for source/ariba/overlay
- Timestamp:
- Aug 4, 2009, 6:02:31 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/overlay/modules/chord/Chord.cpp
r5675 r5678 74 74 logging_debug("Request to setup link to " << endp.toString() ); 75 75 76 for (int i=0; i<table->size(); i++) 77 if ((*table)[i]->id == node && !((*table)[i]->info.isUnspecified())) 78 return LinkID::UNSPECIFIED; 79 76 80 // check if we are already trying to establish a link 77 81 for (size_t i=0; i<pending.size(); i++) … … 117 121 dmsg.setSourceEndpoint(&baseoverlay.getEndpointDescriptor()); 118 122 dmsg.setFollowType(Discovery::successor); 119 dmsg.setTTL((uint8_t) 3);123 dmsg.setTTL((uint8_t)1); 120 124 cmsg.encapsulate(&dmsg); 121 125 send(&cmsg, lnk); … … 127 131 dmsg.setSourceEndpoint(&baseoverlay.getEndpointDescriptor()); 128 132 dmsg.setFollowType(Discovery::predecessor); 129 dmsg.setTTL((uint8_t) 3);133 dmsg.setTTL((uint8_t)1); 130 134 cmsg.encapsulate(&dmsg); 131 135 send(&cmsg, lnk); … … 421 425 } 422 426 } 427 delete m; 423 428 } 424 429
Note:
See TracChangeset
for help on using the changeset viewer.