diff options
author | Bart Polot <bart@net.in.tum.de> | 2014-03-06 01:36:21 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2014-03-06 01:36:21 +0000 |
commit | 150370d31a60344f6d4754e9021f482faa2326bb (patch) | |
tree | 084919ab99b5b7c713ec407cdf2b56d1ca5ccec7 /src/mesh/gnunet-service-mesh_tunnel.c | |
parent | 469c5e6c8791286db6d9c5801621efc060cec722 (diff) | |
download | gnunet-150370d31a60344f6d4754e9021f482faa2326bb.tar.gz gnunet-150370d31a60344f6d4754e9021f482faa2326bb.zip |
- register keepalive as tunnel payload
Diffstat (limited to 'src/mesh/gnunet-service-mesh_tunnel.c')
-rw-r--r-- | src/mesh/gnunet-service-mesh_tunnel.c | 2 |
1 files changed, 2 insertions, 0 deletions
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, | |||
788 | } | 788 | } |
789 | return NULL; | 789 | return NULL; |
790 | } | 790 | } |
791 | |||
791 | type = ntohs (message->type); | 792 | type = ntohs (message->type); |
792 | switch (type) | 793 | switch (type) |
793 | { | 794 | { |
795 | case GNUNET_MESSAGE_TYPE_MESH_KEEPALIVE: | ||
794 | case GNUNET_MESSAGE_TYPE_MESH_DATA: | 796 | case GNUNET_MESSAGE_TYPE_MESH_DATA: |
795 | case GNUNET_MESSAGE_TYPE_MESH_DATA_ACK: | 797 | case GNUNET_MESSAGE_TYPE_MESH_DATA_ACK: |
796 | case GNUNET_MESSAGE_TYPE_MESH_CHANNEL_CREATE: | 798 | case GNUNET_MESSAGE_TYPE_MESH_CHANNEL_CREATE: |