gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r31431 - gnunet/src/mesh


From: gnunet
Subject: [GNUnet-SVN] r31431 - gnunet/src/mesh
Date: Mon, 16 Dec 2013 18:11:29 +0100

Author: bartpolot
Date: 2013-12-16 18:11:28 +0100 (Mon, 16 Dec 2013)
New Revision: 31431

Modified:
   gnunet/src/mesh/gnunet-service-mesh_tunnel.c
Log:
- duplicate PONG can happen if PING was re-transmitted but first one came 
through: second PONG will be "unexpected"


Modified: gnunet/src/mesh/gnunet-service-mesh_tunnel.c
===================================================================
--- gnunet/src/mesh/gnunet-service-mesh_tunnel.c        2013-12-16 17:05:39 UTC 
(rev 31430)
+++ gnunet/src/mesh/gnunet-service-mesh_tunnel.c        2013-12-16 17:11:28 UTC 
(rev 31431)
@@ -1434,7 +1434,7 @@
   LOG (GNUNET_ERROR_TYPE_DEBUG, "PONG received\n");
   if (GNUNET_SCHEDULER_NO_TASK == t->rekey_task)
   {
-    GNUNET_break_op (GNUNET_NO != t->destroy);
+    GNUNET_STATISTICS_update (stats, "# duplicate PONG messages", 1, 
GNUNET_NO);
     return;
   }
   t_decrypt (t, &challenge, &msg->nonce, sizeof (uint32_t), msg->iv);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]