gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r31548 - gnunet/src/mesh
Date: Wed, 18 Dec 2013 21:43:10 +0100

Author: bartpolot
Date: 2013-12-18 21:43:10 +0100 (Wed, 18 Dec 2013)
New Revision: 31548

Modified:
   gnunet/src/mesh/gnunet-service-mesh_tunnel.c
Log:
- show WARNINGs for bad handshakes


Modified: gnunet/src/mesh/gnunet-service-mesh_tunnel.c
===================================================================
--- gnunet/src/mesh/gnunet-service-mesh_tunnel.c        2013-12-18 20:33:26 UTC 
(rev 31547)
+++ gnunet/src/mesh/gnunet-service-mesh_tunnel.c        2013-12-18 20:43:10 UTC 
(rev 31548)
@@ -1461,7 +1461,7 @@
   if (0 != memcmp (&my_full_id, &res.target, sizeof (my_full_id)))
   {
     GNUNET_STATISTICS_update (stats, "# malformed PINGs", 1, GNUNET_NO);
-    LOG (GNUNET_ERROR_TYPE_DEBUG, "  WARNING malformed PING\n");
+    LOG (GNUNET_ERROR_TYPE_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);
@@ -1497,8 +1497,8 @@
 
   if (challenge != t->kx_ctx->challenge)
   {
-    LOG (GNUNET_ERROR_TYPE_DEBUG,
-         "Wrong PONG challenge: %u (e: %u). Expected: %u.\n",
+    LOG (GNUNET_ERROR_TYPE_WARNING, "Wrong PONG challenge\n");
+    LOG (GNUNET_ERROR_TYPE_DEBUG, "PONG: %u (e: %u). Expected: %u.\n",
          challenge, msg->nonce, t->kx_ctx->challenge);
     GNUNET_break_op (0);
     return;




reply via email to

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