Index: source/ariba/overlay/modules/chord/Chord.cpp
===================================================================
--- source/ariba/overlay/modules/chord/Chord.cpp	(revision 5705)
+++ source/ariba/overlay/modules/chord/Chord.cpp	(revision 5706)
@@ -377,6 +377,5 @@
 			else {
 				// find next hop
-				const route_item* item = table->get_next_hop(
-						m->getDestination(),true);
+				const route_item* item = table->get_next_hop(m->getDestination());
 				if (item == NULL || item->id == nodeid) break;
 				logging_debug("routing discovery message to " <<
@@ -394,5 +393,5 @@
 		case Discovery::predecessor: {
 			// time to live ended? yes-> stop routing
-			if (dmsg->getTTL() == 0) break;
+			if (dmsg->getTTL() == 0 || dmsg->getTTL() > 10) break;
 
 			// decrease time-to-live
@@ -408,6 +407,6 @@
 			}
 			if (item == NULL) break;
-				logging_debug("routing discovery message to succ/pred "
-					<< item->id.toString() );
+			logging_debug("routing discovery message to succ/pred "
+				<< item->id.toString() );
 			ChordMessage cmsg(*m);
 			Discovery dmsg_p(*dmsg);
