gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r36526 - gnunet/src/core


From: gnunet
Subject: [GNUnet-SVN] r36526 - gnunet/src/core
Date: Sun, 18 Oct 2015 14:27:38 +0200

Author: grothoff
Date: 2015-10-18 14:27:38 +0200 (Sun, 18 Oct 2015)
New Revision: 36526

Modified:
   gnunet/src/core/gnunet-service-core_neighbours.c
Log:
-mirror check on disconnect

Modified: gnunet/src/core/gnunet-service-core_neighbours.c
===================================================================
--- gnunet/src/core/gnunet-service-core_neighbours.c    2015-10-18 12:21:40 UTC 
(rev 36525)
+++ gnunet/src/core/gnunet-service-core_neighbours.c    2015-10-18 12:27:38 UTC 
(rev 36526)
@@ -401,6 +401,13 @@
 {
   struct Neighbour *n;
 
+  if (0 == memcmp (peer,
+                   &GSC_my_identity,
+                   sizeof (struct GNUNET_PeerIdentity)))
+  {
+    GNUNET_break (0);
+    return;
+  }
   GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
               "Peer `%s' disconnected from us; received notification from 
transport.\n",
               GNUNET_i2s (peer));




reply via email to

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