[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r31468 - gnunet/src/mesh
From: |
gnunet |
Subject: |
[GNUnet-SVN] r31468 - gnunet/src/mesh |
Date: |
Tue, 17 Dec 2013 06:23:49 +0100 |
Author: bartpolot
Date: 2013-12-17 06:23:49 +0100 (Tue, 17 Dec 2013)
New Revision: 31468
Modified:
gnunet/src/mesh/gnunet-service-mesh_tunnel.c
Log:
- log malformed pings
Modified: gnunet/src/mesh/gnunet-service-mesh_tunnel.c
===================================================================
--- gnunet/src/mesh/gnunet-service-mesh_tunnel.c 2013-12-17 05:20:59 UTC
(rev 31467)
+++ gnunet/src/mesh/gnunet-service-mesh_tunnel.c 2013-12-17 05:23:49 UTC
(rev 31468)
@@ -1451,7 +1451,8 @@
t_decrypt (t, &res.target, &msg->target, ping_encryption_size (), msg->iv);
if (0 != memcmp (&my_full_id, &res.target, sizeof (my_full_id)))
{
- GNUNET_break_op (0);
+ GNUNET_STATISTICS_update (stats, "# malformed PINGs", 1, GNUNET_NO);
+ LOG (GNUNET_ERROR_TYPE_DEBUG, " WARNING malformed PING\n");
LOG (GNUNET_ERROR_TYPE_DEBUG, " e got %u\n", msg->nonce);
LOG (GNUNET_ERROR_TYPE_DEBUG, " e towards %s\n", GNUNET_i2s
(&msg->target));
LOG (GNUNET_ERROR_TYPE_DEBUG, " got %u\n", res.nonce);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r31468 - gnunet/src/mesh,
gnunet <=