aboutsummaryrefslogtreecommitdiff
path: root/src/mesh/mesh_api_new.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesh/mesh_api_new.c')
-rw-r--r--src/mesh/mesh_api_new.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/mesh/mesh_api_new.c b/src/mesh/mesh_api_new.c
index e466bca94..c9c71405c 100644
--- a/src/mesh/mesh_api_new.c
+++ b/src/mesh/mesh_api_new.c
@@ -45,6 +45,7 @@ extern "C"
45#include "gnunet_common.h" 45#include "gnunet_common.h"
46#include "gnunet_client_lib.h" 46#include "gnunet_client_lib.h"
47#include "gnunet_util_lib.h" 47#include "gnunet_util_lib.h"
48#include "gnunet_peer_lib.h"
48#include "gnunet_mesh_service_new.h" 49#include "gnunet_mesh_service_new.h"
49#include "mesh.h" 50#include "mesh.h"
50 51
@@ -121,11 +122,6 @@ struct GNUNET_MESH_Tunnel {
121 struct GNUNET_MESH_Tunnel *prev; 122 struct GNUNET_MESH_Tunnel *prev;
122 123
123 /** 124 /**
124 * Owner of the tunnel, either local or remote
125 */
126 GNUNET_PEER_Id owner;
127
128 /**
129 * Local ID of the tunnel 125 * Local ID of the tunnel
130 */ 126 */
131 MESH_TunnelID tid; 127 MESH_TunnelID tid;
@@ -341,6 +337,7 @@ process_tunnel_create(struct GNUNET_MESH_Handle *h,
341 t->disconnect_handler = NULL; 337 t->disconnect_handler = NULL;
342 t->mesh = h; 338 t->mesh = h;
343 t->tid = tid; 339 t->tid = tid;
340
344 return; 341 return;
345} 342}
346 343