- use proper type
authorBart Polot <bart@net.in.tum.de>
Sat, 22 Mar 2014 02:58:30 +0000 (02:58 +0000)
committerBart Polot <bart@net.in.tum.de>
Sat, 22 Mar 2014 02:58:30 +0000 (02:58 +0000)
src/mesh/gnunet-service-mesh_connection.c

index 007dcf27696a7ae1c88a87efbfb3c912d80fde99..31e8a48a8d42938a626e444d8e5fb024d457c540 100644 (file)
@@ -855,7 +855,7 @@ send_broken2 (struct GNUNET_MeshHash *connection_id,
   msg->peer2 = *id2;
   neighbor = GMP_get_short (peer_id);
   GMP_queue_add (neighbor, msg,
-                 GNUNET_MESSAGE_TYPE_MESH_ENCRYPTED,
+                 GNUNET_MESSAGE_TYPE_MESH_CONNECTION_BROKEN,
                  sizeof (struct GNUNET_MESH_ConnectionBroken),
                  NULL, GNUNET_SYSERR, /* connection, fwd */
                  NULL, NULL); /* continuation */