fix
authorChristian Grothoff <christian@grothoff.org>
Mon, 15 Nov 2010 14:46:20 +0000 (14:46 +0000)
committerChristian Grothoff <christian@grothoff.org>
Mon, 15 Nov 2010 14:46:20 +0000 (14:46 +0000)
src/core/gnunet-service-core.c

index 2c6cdc55ad463280817206e26c3b280f0a6b0120..0b04e485e5a2529e6c31b17aee27750eb2b4e3f7 100644 (file)
@@ -978,7 +978,8 @@ handle_peer_status_change (struct Neighbour *n)
 {
   struct PeerStatusNotifyMessage psnm;
 
-  if (! n->is_connected)
+  if ( (! n->is_connected) ||
+       (n->status != PEER_STATE_KEY_CONFIRMED) )
     return;
 #if DEBUG_CORE
   GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,