From 2e340e08850492020c4494e78293def9b6943706 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 3 Aug 2015 11:13:42 +0000 Subject: -report id of peer that is missbehaving --- src/nse/gnunet-service-nse.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/nse/gnunet-service-nse.c') diff --git a/src/nse/gnunet-service-nse.c b/src/nse/gnunet-service-nse.c index 928065e3c..8a2275bf3 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; } -- cgit v1.2.3