cbcdf8ad Honor depth in get_peerlist_head method (Miguel Herranz)
cbcdf8ad
@ -285,9 +285,11 @@ namespace nodetool
{
if(!vl.last_seen)
continue;
bs_head.push_back(vl);
if(cnt++ > depth)
if(cnt++ >= depth)
break;
}
return true;