diff options
author | Bart Polot <bart@net.in.tum.de> | 2014-04-11 15:30:39 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2014-04-11 15:30:39 +0000 |
commit | f3ccc5a2dabd83bcb8b7c727ee1d72b3dc22861e (patch) | |
tree | 2e7cbac023323025ae0d5970bacb2fc2757e545a /src/mesh | |
parent | 6a156384715ed68477e809b529a38c8ff06590e1 (diff) | |
download | gnunet-f3ccc5a2dabd83bcb8b7c727ee1d72b3dc22861e.tar.gz gnunet-f3ccc5a2dabd83bcb8b7c727ee1d72b3dc22861e.zip |
- log on INFO the data MID received
Diffstat (limited to 'src/mesh')
-rw-r--r-- | src/mesh/gnunet-service-mesh_channel.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesh/gnunet-service-mesh_channel.c b/src/mesh/gnunet-service-mesh_channel.c index 5f646f6bb..bdad559b7 100644 --- a/src/mesh/gnunet-service-mesh_channel.c +++ b/src/mesh/gnunet-service-mesh_channel.c | |||
@@ -1941,13 +1941,14 @@ GMCH_handle_data (struct MeshChannel *ch, | |||
1941 | GNUNET_STATISTICS_update (stats, "# data received", 1, GNUNET_NO); | 1941 | GNUNET_STATISTICS_update (stats, "# data received", 1, GNUNET_NO); |
1942 | 1942 | ||
1943 | mid = ntohl (msg->mid); | 1943 | mid = ntohl (msg->mid); |
1944 | LOG (GNUNET_ERROR_TYPE_DEBUG, "!! got mid %u\n", mid); | 1944 | LOG (GNUNET_ERROR_TYPE_INFO, "<= DATA %u %s on channel %s\n", |
1945 | mid, GM_f2s (fwd), GMCH_2s (ch)); | ||
1945 | 1946 | ||
1946 | if (GNUNET_NO == ch->reliable || | 1947 | if (GNUNET_NO == ch->reliable || |
1947 | ( !GM_is_pid_bigger (rel->mid_recv, mid) && | 1948 | ( !GM_is_pid_bigger (rel->mid_recv, mid) && |
1948 | GM_is_pid_bigger (rel->mid_recv + 64, mid) ) ) | 1949 | GM_is_pid_bigger (rel->mid_recv + 64, mid) ) ) |
1949 | { | 1950 | { |
1950 | LOG (GNUNET_ERROR_TYPE_DEBUG, "!!! RECV %u (%u)\n", | 1951 | LOG (GNUNET_ERROR_TYPE_DEBUG, "RECV %u (%u)\n", |
1951 | mid, ntohs (msg->header.size)); | 1952 | mid, ntohs (msg->header.size)); |
1952 | if (GNUNET_YES == ch->reliable) | 1953 | if (GNUNET_YES == ch->reliable) |
1953 | { | 1954 | { |