aboutsummaryrefslogtreecommitdiff
path: root/src/testbed/testbed_api_peers.c
diff options
context:
space:
mode:
authorSree Harsha Totakura <totakura@in.tum.de>2012-09-25 12:09:42 +0000
committerSree Harsha Totakura <totakura@in.tum.de>2012-09-25 12:09:42 +0000
commitf45aa9ad24ef852ffd39490b7ce32c213e698b72 (patch)
treecb4716b2be0d65a807ffc55b0a1050913641b23f /src/testbed/testbed_api_peers.c
parent3655f3e8eded4a06a2d2ccfa75c53d5ad81c26f0 (diff)
downloadgnunet-f45aa9ad24ef852ffd39490b7ce32c213e698b72.tar.gz
gnunet-f45aa9ad24ef852ffd39490b7ce32c213e698b72.zip
added peer2_host field in overlay connect message
Diffstat (limited to 'src/testbed/testbed_api_peers.c')
-rw-r--r--src/testbed/testbed_api_peers.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/testbed/testbed_api_peers.c b/src/testbed/testbed_api_peers.c
index 65d4ffbd9..9b35209ca 100644
--- a/src/testbed/testbed_api_peers.c
+++ b/src/testbed/testbed_api_peers.c
@@ -341,6 +341,7 @@ opstart_overlay_connect (void *cls)
341 msg->peer1 = htonl (data->p1->unique_id); 341 msg->peer1 = htonl (data->p1->unique_id);
342 msg->peer2 = htonl (data->p2->unique_id); 342 msg->peer2 = htonl (data->p2->unique_id);
343 msg->operation_id = GNUNET_htonll (opc->id); 343 msg->operation_id = GNUNET_htonll (opc->id);
344 msg->peer2_host_id = htonl (GNUNET_TESTBED_host_get_id_ (data->p2->host));
344 GNUNET_CONTAINER_DLL_insert_tail (opc->c->ocq_head, opc->c->ocq_tail, opc); 345 GNUNET_CONTAINER_DLL_insert_tail (opc->c->ocq_head, opc->c->ocq_tail, opc);
345 GNUNET_TESTBED_queue_message_ (opc->c, &msg->header); 346 GNUNET_TESTBED_queue_message_ (opc->c, &msg->header);
346} 347}