aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-10-18 12:27:38 +0000
committerChristian Grothoff <christian@grothoff.org>2015-10-18 12:27:38 +0000
commitec29799909c1c886fafed250c2caf8f4f46ae2dd (patch)
treea685254a9a054e77475d41f728c65c991bc05a40 /src
parentf4897a8ae7a0f5e5eb3d2aff5d1beef1f6e0d2a6 (diff)
downloadgnunet-ec29799909c1c886fafed250c2caf8f4f46ae2dd.tar.gz
gnunet-ec29799909c1c886fafed250c2caf8f4f46ae2dd.zip
-mirror check on disconnect
Diffstat (limited to 'src')
-rw-r--r--src/core/gnunet-service-core_neighbours.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/gnunet-service-core_neighbours.c b/src/core/gnunet-service-core_neighbours.c
index c89a8f45d..f96d66d6e 100644
--- a/src/core/gnunet-service-core_neighbours.c
+++ b/src/core/gnunet-service-core_neighbours.c
@@ -401,6 +401,13 @@ handle_transport_notify_disconnect (void *cls,
401{ 401{
402 struct Neighbour *n; 402 struct Neighbour *n;
403 403
404 if (0 == memcmp (peer,
405 &GSC_my_identity,
406 sizeof (struct GNUNET_PeerIdentity)))
407 {
408 GNUNET_break (0);
409 return;
410 }
404 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 411 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
405 "Peer `%s' disconnected from us; received notification from transport.\n", 412 "Peer `%s' disconnected from us; received notification from transport.\n",
406 GNUNET_i2s (peer)); 413 GNUNET_i2s (peer));