diff options
author | Bart Polot <bart@net.in.tum.de> | 2014-01-22 02:25:34 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2014-01-22 02:25:34 +0000 |
commit | 611a4740a7425e70f073e8183f96d51fa065502d (patch) | |
tree | a77305d3eed141efa4c12c86787dba910c7343ee /src/mesh/gnunet-service-mesh_local.c | |
parent | a5c28352b9ceda0c4a0b723e4c03ca58d3f6f570 (diff) | |
download | gnunet-611a4740a7425e70f073e8183f96d51fa065502d.tar.gz gnunet-611a4740a7425e70f073e8183f96d51fa065502d.zip |
- fix tunnel info message type
Diffstat (limited to 'src/mesh/gnunet-service-mesh_local.c')
-rw-r--r-- | src/mesh/gnunet-service-mesh_local.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesh/gnunet-service-mesh_local.c b/src/mesh/gnunet-service-mesh_local.c index 98cd151a6..d61a12c14 100644 --- a/src/mesh/gnunet-service-mesh_local.c +++ b/src/mesh/gnunet-service-mesh_local.c | |||
@@ -735,7 +735,7 @@ handle_show_tunnel (void *cls, struct GNUNET_SERVER_Client *client, | |||
735 | size += ch_n * sizeof (uint32_t); | 735 | size += ch_n * sizeof (uint32_t); |
736 | 736 | ||
737 | resp = GNUNET_malloc (size); | 737 | resp = GNUNET_malloc (size); |
738 | resp->header.size = htons (GNUNET_MESSAGE_TYPE_MESH_LOCAL_INFO_TUNNEL); | 738 | resp->header.type = htons (GNUNET_MESSAGE_TYPE_MESH_LOCAL_INFO_TUNNEL); |
739 | resp->header.size = htons (size); | 739 | resp->header.size = htons (size); |
740 | GMT_iterate_connections (t, &iter_connection, resp); | 740 | GMT_iterate_connections (t, &iter_connection, resp); |
741 | GMT_iterate_channels (t, &iter_channel, resp); | 741 | GMT_iterate_channels (t, &iter_channel, resp); |