aboutsummaryrefslogtreecommitdiff
path: root/src/nse
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-08-03 11:13:42 +0000
committerChristian Grothoff <christian@grothoff.org>2015-08-03 11:13:42 +0000
commit2e340e08850492020c4494e78293def9b6943706 (patch)
tree0fed27d3d32bbb6ac089e8fa06d18088e36a6081 /src/nse
parentf4acc7da5d674b80115290a6f631467fc34f0826 (diff)
-report id of peer that is missbehaving
Diffstat (limited to 'src/nse')
-rw-r--r--src/nse/gnunet-service-nse.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/nse/gnunet-service-nse.c b/src/nse/gnunet-service-nse.c
index 928065e3c1..8a2275bf32 100644
--- a/src/nse/gnunet-service-nse.c
+++ b/src/nse/gnunet-service-nse.c
@@ -954,7 +954,8 @@ find_proof (void *cls,
}
if (my_proof / (100 * ROUND_SIZE) < counter / (100 * ROUND_SIZE))
{
- GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Testing proofs currently at %llu\n",
+ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+ "Testing proofs currently at %llu\n",
(unsigned long long) counter);
/* remember progress every 100 rounds */
my_proof = counter;
@@ -1132,6 +1133,9 @@ handle_p2p_size_estimate (void *cls,
return GNUNET_OK; /* ignore, simply too early/late */
if (GNUNET_YES != verify_message_crypto (incoming_flood))
{
+ GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
+ "Peer %s is likely ill-configured!\n",
+ GNUNET_i2s (peer));
GNUNET_break_op (0);
return GNUNET_OK;
}