aboutsummaryrefslogtreecommitdiff
path: root/src/transport/test_transport_api_manipulation_send_tcp.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2013-03-15 14:27:16 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2013-03-15 14:27:16 +0000
commit7df1fa12d8761e9a08a2aecc1611c398a1663b6f (patch)
tree3c5b4014ea5e80c7a9b9f8a77e8c27631b5006d3 /src/transport/test_transport_api_manipulation_send_tcp.c
parentbfe1307e037a7811c2d9f86393554aa6ac09a957 (diff)
downloadgnunet-7df1fa12d8761e9a08a2aecc1611c398a1663b6f.tar.gz
gnunet-7df1fa12d8761e9a08a2aecc1611c398a1663b6f.zip
clean up
Diffstat (limited to 'src/transport/test_transport_api_manipulation_send_tcp.c')
-rw-r--r--src/transport/test_transport_api_manipulation_send_tcp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transport/test_transport_api_manipulation_send_tcp.c b/src/transport/test_transport_api_manipulation_send_tcp.c
index 2e40e9fcc..3ec7f7bf3 100644
--- a/src/transport/test_transport_api_manipulation_send_tcp.c
+++ b/src/transport/test_transport_api_manipulation_send_tcp.c
@@ -306,10 +306,10 @@ sendtask (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
306 { 306 {
307 ats[0].type = htonl (GNUNET_ATS_QUALITY_NET_DELAY); 307 ats[0].type = htonl (GNUNET_ATS_QUALITY_NET_DELAY);
308 ats[0].value = htonl (1000); 308 ats[0].value = htonl (1000);
309 GNUNET_TRANSPORT_set_traffic_metric (p2->th, &p1->id, TM_SEND, ats, 1); 309 GNUNET_TRANSPORT_set_traffic_metric (p2->th, &p1->id, GNUNET_NO, GNUNET_YES, ats, 1);
310 ats[0].type = htonl (GNUNET_ATS_QUALITY_NET_DISTANCE); 310 ats[0].type = htonl (GNUNET_ATS_QUALITY_NET_DISTANCE);
311 ats[0].value = htonl (10); 311 ats[0].value = htonl (10);
312 GNUNET_TRANSPORT_set_traffic_metric (p1->th, &p2->id, TM_BOTH, ats, 1); 312 GNUNET_TRANSPORT_set_traffic_metric (p1->th, &p2->id, GNUNET_YES, GNUNET_YES, ats, 1);
313 313
314 start_delayed = GNUNET_TIME_absolute_get(); 314 start_delayed = GNUNET_TIME_absolute_get();
315 } 315 }