From 150370d31a60344f6d4754e9021f482faa2326bb Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Thu, 6 Mar 2014 01:36:21 +0000 Subject: [PATCH] - register keepalive as tunnel payload --- src/mesh/gnunet-service-mesh_tunnel.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mesh/gnunet-service-mesh_tunnel.c b/src/mesh/gnunet-service-mesh_tunnel.c index f00544b2e..feef7c20d 100644 --- a/src/mesh/gnunet-service-mesh_tunnel.c +++ b/src/mesh/gnunet-service-mesh_tunnel.c @@ -788,9 +788,11 @@ send_prebuilt_message (const struct GNUNET_MessageHeader *message, } return NULL; } + type = ntohs (message->type); switch (type) { + case GNUNET_MESSAGE_TYPE_MESH_KEEPALIVE: case GNUNET_MESSAGE_TYPE_MESH_DATA: case GNUNET_MESSAGE_TYPE_MESH_DATA_ACK: case GNUNET_MESSAGE_TYPE_MESH_CHANNEL_CREATE: -- 2.25.1