diff options
author | Bart Polot <bart@net.in.tum.de> | 2014-07-23 05:47:28 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2014-07-23 05:47:28 +0000 |
commit | 0c3c6e8474454af46faa1fc5ef9ba4d083195a28 (patch) | |
tree | f0706db0ae2b1068dec7b173da999aaf9ee2417d /src | |
parent | 1d964ec1d737604d4ee83a0243b0c480cc948c24 (diff) | |
download | gnunet-0c3c6e8474454af46faa1fc5ef9ba4d083195a28.tar.gz gnunet-0c3c6e8474454af46faa1fc5ef9ba4d083195a28.zip |
- log payload of dropped data
Diffstat (limited to 'src')
-rw-r--r-- | src/cadet/gnunet-service-cadet_peer.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/cadet/gnunet-service-cadet_peer.c b/src/cadet/gnunet-service-cadet_peer.c index ce22c20da..6c1f0eb4f 100644 --- a/src/cadet/gnunet-service-cadet_peer.c +++ b/src/cadet/gnunet-service-cadet_peer.c | |||
@@ -1062,8 +1062,9 @@ queue_send (void *cls, size_t size, void *buf) | |||
1062 | if (0 < drop_percent && | 1062 | if (0 < drop_percent && |
1063 | GNUNET_CRYPTO_random_u32 (GNUNET_CRYPTO_QUALITY_WEAK, 101) < drop_percent) | 1063 | GNUNET_CRYPTO_random_u32 (GNUNET_CRYPTO_QUALITY_WEAK, 101) < drop_percent) |
1064 | { | 1064 | { |
1065 | LOG (GNUNET_ERROR_TYPE_WARNING, "DD %s on connection %s\n", | 1065 | LOG (GNUNET_ERROR_TYPE_WARNING, "DD %s (%s %u) on connection %s\n", |
1066 | GC_m2s (queue->type), GCC_2s (c)); | 1066 | GC_m2s (queue->type), GC_m2s (queue->payload_type), queue->payload_id, |
1067 | GCC_2s (c)); | ||
1067 | data_size = 0; | 1068 | data_size = 0; |
1068 | } | 1069 | } |
1069 | else | 1070 | else |