commit 31dd147880c42f94b525fab0021b0eded6c8d24c
parent a89c7a30d499bac96890929d745fad063eb707b2
Author: Matthias Wachs <wachs@net.in.tum.de>
Date: Wed, 21 Aug 2013 16:12:11 +0000
fix for all masters
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/ats/perf_ats.c b/src/ats/perf_ats.c
@@ -238,13 +238,13 @@ ats_performance_info_cb (void *cls,
struct BenchmarkPeer *p = cls;
int c_a;
char *peer_id;
- if (p != &bp_slaves[0])
- return; /* print only master peer */
+
peer_id = GNUNET_strdup (GNUNET_i2s (&p->id));
for (c_a = 0; c_a < ats_count; c_a++)
{
- GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, _("%s: %s %s %u\n"),
- peer_id,
+ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, _("%c %03u: %s %s %u\n"),
+ (GNUNET_YES == p->master) ? 'M' : 'S',
+ p->no,
GNUNET_i2s (&address->peer),
GNUNET_ATS_print_property_type(ntohl(ats[c_a].type)),
ntohl(ats[c_a].value));