aboutsummaryrefslogtreecommitdiff
path: root/src/mesh/gnunet-service-mesh_tunnel.c
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2014-03-06 01:36:32 +0000
committerBart Polot <bart@net.in.tum.de>2014-03-06 01:36:32 +0000
commit94643c936f9276de0417857eee3a535bc790247a (patch)
tree492bbada5fdb2afd3d5cf7f34173b61bdef87d7a /src/mesh/gnunet-service-mesh_tunnel.c
parent74ebaf67f3e767379700c841708c7bd9618bb3e7 (diff)
downloadgnunet-94643c936f9276de0417857eee3a535bc790247a.tar.gz
gnunet-94643c936f9276de0417857eee3a535bc790247a.zip
- add keepalive stats
Diffstat (limited to 'src/mesh/gnunet-service-mesh_tunnel.c')
-rw-r--r--src/mesh/gnunet-service-mesh_tunnel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesh/gnunet-service-mesh_tunnel.c b/src/mesh/gnunet-service-mesh_tunnel.c
index 6888cc862..bce2812e5 100644
--- a/src/mesh/gnunet-service-mesh_tunnel.c
+++ b/src/mesh/gnunet-service-mesh_tunnel.c
@@ -1585,6 +1585,7 @@ handle_decrypted (struct MeshTunnel3 *t,
1585 { 1585 {
1586 case GNUNET_MESSAGE_TYPE_MESH_KEEPALIVE: 1586 case GNUNET_MESSAGE_TYPE_MESH_KEEPALIVE:
1587 /* Do nothing, connection aleady got updated. */ 1587 /* Do nothing, connection aleady got updated. */
1588 GNUNET_STATISTICS_update (stats, "# keepalives received", 1, GNUNET_NO);
1588 break; 1589 break;
1589 1590
1590 case GNUNET_MESSAGE_TYPE_MESH_DATA: 1591 case GNUNET_MESSAGE_TYPE_MESH_DATA: