[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r36618 - gnunet/src/core
From: |
gnunet |
Subject: |
[GNUnet-SVN] r36618 - gnunet/src/core |
Date: |
Thu, 29 Oct 2015 11:00:14 +0100 |
Author: grothoff
Date: 2015-10-29 11:00:14 +0100 (Thu, 29 Oct 2015)
New Revision: 36618
Modified:
gnunet/src/core/gnunet-service-core_kx.c
Log:
distinguish PING failure after rekey from other failures (#4019) when logging
Modified: gnunet/src/core/gnunet-service-core_kx.c
===================================================================
--- gnunet/src/core/gnunet-service-core_kx.c 2015-10-28 19:50:44 UTC (rev
36617)
+++ gnunet/src/core/gnunet-service-core_kx.c 2015-10-29 10:00:14 UTC (rev
36618)
@@ -1060,9 +1060,14 @@
&GSC_my_identity,
sizeof (struct GNUNET_PeerIdentity)))
{
- GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
- "We are not the intended target of the PING from peer `%s'\n",
- GNUNET_i2s (&kx->peer));
+ if (GNUNET_CORE_KX_STATE_REKEY_SENT != kx->status)
+ GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
+ "Decryption of PING from peer `%s' failed\n",
+ GNUNET_i2s (&kx->peer));
+ else
+ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+ "Decryption of PING from peer `%s' failed after rekey
(harmless)\n",
+ GNUNET_i2s (&kx->peer));
GNUNET_break_op (0);
return;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r36618 - gnunet/src/core,
gnunet <=