aboutsummaryrefslogtreecommitdiff
path: root/src/mesh/gnunet-service-mesh_local.c
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2014-01-30 02:11:13 +0000
committerBart Polot <bart@net.in.tum.de>2014-01-30 02:11:13 +0000
commit4cf7d45ccd42e8d2534c631046b4c621ec50a368 (patch)
tree1e167192fb6fefb1b90c4725687e3d69e34cb47c /src/mesh/gnunet-service-mesh_local.c
parente2a956c5396e2c322b905e993adccfe5bd9d155f (diff)
downloadgnunet-4cf7d45ccd42e8d2534c631046b4c621ec50a368.tar.gz
gnunet-4cf7d45ccd42e8d2534c631046b4c621ec50a368.zip
- copy peer id from request
Diffstat (limited to 'src/mesh/gnunet-service-mesh_local.c')
-rw-r--r--src/mesh/gnunet-service-mesh_local.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesh/gnunet-service-mesh_local.c b/src/mesh/gnunet-service-mesh_local.c
index c5822a1ed..a02ef84c8 100644
--- a/src/mesh/gnunet-service-mesh_local.c
+++ b/src/mesh/gnunet-service-mesh_local.c
@@ -742,6 +742,7 @@ handle_show_tunnel (void *cls, struct GNUNET_SERVER_Client *client,
742 GMT_iterate_connections (t, &iter_connection, resp); 742 GMT_iterate_connections (t, &iter_connection, resp);
743 GMT_iterate_channels (t, &iter_channel, resp); 743 GMT_iterate_channels (t, &iter_channel, resp);
744 /* Do not interleave with iterators, iter_channel needs conn in HBO */ 744 /* Do not interleave with iterators, iter_channel needs conn in HBO */
745 resp->destination = msg->peer;
745 resp->connections = htonl (resp->connections); 746 resp->connections = htonl (resp->connections);
746 resp->channels = htonl (resp->channels); 747 resp->channels = htonl (resp->channels);
747 resp->cstate = htons (GMT_get_cstate (t)); 748 resp->cstate = htons (GMT_get_cstate (t));