aboutsummaryrefslogtreecommitdiff
path: root/src/mesh/gnunet-mesh.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesh/gnunet-mesh.c')
-rw-r--r--src/mesh/gnunet-mesh.c16
1 files changed, 10 insertions, 6 deletions
diff --git a/src/mesh/gnunet-mesh.c b/src/mesh/gnunet-mesh.c
index ab15ffbd4..97b0e26b4 100644
--- a/src/mesh/gnunet-mesh.c
+++ b/src/mesh/gnunet-mesh.c
@@ -496,24 +496,28 @@ tunnels_callback (void *cls,
496 * 496 *
497 * @param cls Closure. 497 * @param cls Closure.
498 * @param peer Peer towards whom the tunnel is directed. 498 * @param peer Peer towards whom the tunnel is directed.
499 * @param channels Number of channels. 499 * @param n_channels Number of channels.
500 * @param connections Number of connections. 500 * @param n_connections Number of connections.
501 * @param channels Channels.
502 * @param connections Connections.
501 * @param estate Encryption status. 503 * @param estate Encryption status.
502 * @param cstate Connectivity status. 504 * @param cstate Connectivity status.
503 */ 505 */
504void 506void
505tunnel_callback (void *cls, 507tunnel_callback (void *cls,
506 const struct GNUNET_PeerIdentity *peer, 508 const struct GNUNET_PeerIdentity *peer,
507 unsigned int channels, 509 unsigned int n_channels,
508 unsigned int connections, 510 unsigned int n_connections,
511 uint32_t *channels,
512 struct GNUNET_HashCode *connections,
509 unsigned int estate, 513 unsigned int estate,
510 unsigned int cstate) 514 unsigned int cstate)
511{ 515{
512 if (NULL != peer) 516 if (NULL != peer)
513 { 517 {
514 FPRINTF (stdout, "Tunnel %s\n", GNUNET_i2s_full (peer)); 518 FPRINTF (stdout, "Tunnel %s\n", GNUNET_i2s_full (peer));
515 FPRINTF (stdout, "- %u channels\n", channels); 519 FPRINTF (stdout, "- %u channels\n", n_channels);
516 FPRINTF (stdout, "- %u connections\n", connections); 520 FPRINTF (stdout, "- %u connections\n", n_connections);
517 FPRINTF (stdout, "- enc state: %u\n", estate); 521 FPRINTF (stdout, "- enc state: %u\n", estate);
518 FPRINTF (stdout, "- con state: %u\n", cstate); 522 FPRINTF (stdout, "- con state: %u\n", cstate);
519 } 523 }