diff options
author | Bart Polot <bart@net.in.tum.de> | 2014-01-30 02:11:08 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2014-01-30 02:11:08 +0000 |
commit | ad9d8a3835ef276b5a4da43130eb650aa795a14a (patch) | |
tree | 6cd52e710332eba50bc698468dacb0dee5e254fe /src | |
parent | d689306c470af856cb2f632fbac6f2e404d7d45a (diff) | |
download | gnunet-ad9d8a3835ef276b5a4da43130eb650aa795a14a.tar.gz gnunet-ad9d8a3835ef276b5a4da43130eb650aa795a14a.zip |
- verbose log
Diffstat (limited to 'src')
-rw-r--r-- | src/mesh/gnunet-service-mesh_local.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mesh/gnunet-service-mesh_local.c b/src/mesh/gnunet-service-mesh_local.c index c5dfd5aa4..4b5dae346 100644 --- a/src/mesh/gnunet-service-mesh_local.c +++ b/src/mesh/gnunet-service-mesh_local.c | |||
@@ -711,6 +711,8 @@ handle_show_tunnel (void *cls, struct GNUNET_SERVER_Client *client, | |||
711 | /* We don't know the tunnel */ | 711 | /* We don't know the tunnel */ |
712 | struct GNUNET_MESH_LocalInfoTunnel warn; | 712 | struct GNUNET_MESH_LocalInfoTunnel warn; |
713 | 713 | ||
714 | LOG (GNUNET_ERROR_TYPE_INFO, "Tunnel %s unknown %u\n", | ||
715 | GNUNET_i2s_full(&msg->peer), sizeof (warn)); | ||
714 | warn.header.type = htons (GNUNET_MESSAGE_TYPE_MESH_LOCAL_INFO_TUNNEL); | 716 | warn.header.type = htons (GNUNET_MESSAGE_TYPE_MESH_LOCAL_INFO_TUNNEL); |
715 | warn.header.size = htons (sizeof (warn)); | 717 | warn.header.size = htons (sizeof (warn)); |
716 | warn.destination = msg->peer; | 718 | warn.destination = msg->peer; |
@@ -749,8 +751,8 @@ handle_show_tunnel (void *cls, struct GNUNET_SERVER_Client *client, | |||
749 | GNUNET_free (resp); | 751 | GNUNET_free (resp); |
750 | 752 | ||
751 | LOG (GNUNET_ERROR_TYPE_INFO, | 753 | LOG (GNUNET_ERROR_TYPE_INFO, |
752 | "Show tunnel request from client %u completed\n", | 754 | "Show tunnel request from client %u completed. %u conn, %u ch\n", |
753 | c->id); | 755 | c->id, c_n, ch_n); |
754 | GNUNET_SERVER_receive_done (client, GNUNET_OK); | 756 | GNUNET_SERVER_receive_done (client, GNUNET_OK); |
755 | } | 757 | } |
756 | 758 | ||