do not use forever
authorMatthias Wachs <wachs@net.in.tum.de>
Mon, 15 Jul 2013 08:43:04 +0000 (08:43 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Mon, 15 Jul 2013 08:43:04 +0000 (08:43 +0000)
src/ats-tool/gnunet-ats.c

index 2fd30c1a55d9ff1c54e58dcc078977ae7e5e7666..e795170766a0004c84a48a45e31c4330a1fad8e6 100644 (file)
@@ -250,7 +250,9 @@ ats_perf_cb (void *cls,
     pr->bandwidth_in = bandwidth_in;
     pr->bandwidth_out = bandwidth_out;
     pr->tats_ctx = GNUNET_TRANSPORT_address_to_string(cfg, address,
-                      resolve_addresses_numeric, GNUNET_TIME_UNIT_FOREVER_REL, transport_addr_to_str_cb, pr);
+                      resolve_addresses_numeric,
+                                                         GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 10),
+                      transport_addr_to_str_cb, pr);
     GNUNET_CONTAINER_DLL_insert (head, tail, pr);
     results++;
     pending++;