diff options
Diffstat (limited to 'src/ats-tests/ats-testing-traffic.c')
-rw-r--r-- | src/ats-tests/ats-testing-traffic.c | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/src/ats-tests/ats-testing-traffic.c b/src/ats-tests/ats-testing-traffic.c index 9163d2cd1..ecee76816 100644 --- a/src/ats-tests/ats-testing-traffic.c +++ b/src/ats-tests/ats-testing-traffic.c | |||
@@ -104,7 +104,9 @@ comm_schedule_send (void *cls, | |||
104 | if (GNUNET_YES == top->test_core) | 104 | if (GNUNET_YES == top->test_core) |
105 | { | 105 | { |
106 | p->cth = GNUNET_CORE_notify_transmit_ready ( | 106 | p->cth = GNUNET_CORE_notify_transmit_ready ( |
107 | p->me->ch, GNUNET_NO, 0, GNUNET_TIME_UNIT_MINUTES, &p->dest->id, | 107 | p->me->ch, GNUNET_NO, |
108 | GNUNET_CORE_PRIO_BEST_EFFORT, | ||
109 | GNUNET_TIME_UNIT_MINUTES, &p->dest->id, | ||
108 | TEST_MESSAGE_SIZE, &send_ping_ready_cb, p); | 110 | TEST_MESSAGE_SIZE, &send_ping_ready_cb, p); |
109 | } | 111 | } |
110 | else | 112 | else |
@@ -159,9 +161,12 @@ GNUNET_ATS_TEST_traffic_handle_ping (struct BenchmarkPartner *p) | |||
159 | { | 161 | { |
160 | GNUNET_assert (NULL == p->cth); | 162 | GNUNET_assert (NULL == p->cth); |
161 | 163 | ||
162 | p->cth = GNUNET_CORE_notify_transmit_ready (p->me->ch, GNUNET_NO, 0, | 164 | p->cth |
163 | GNUNET_TIME_UNIT_MINUTES, &p->dest->id, TEST_MESSAGE_SIZE, | 165 | = GNUNET_CORE_notify_transmit_ready (p->me->ch, GNUNET_NO, |
164 | &comm_send_pong_ready, p); | 166 | GNUNET_CORE_PRIO_BEST_EFFORT, |
167 | GNUNET_TIME_UNIT_MINUTES, | ||
168 | &p->dest->id, TEST_MESSAGE_SIZE, | ||
169 | &comm_send_pong_ready, p); | ||
165 | } | 170 | } |
166 | else | 171 | else |
167 | { | 172 | { |