aboutsummaryrefslogtreecommitdiff
path: root/src/core/gnunet-service-core_neighbours.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/gnunet-service-core_neighbours.c')
-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));