aboutsummaryrefslogtreecommitdiff
path: root/src/nse/gnunet-service-nse.c
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/gnunet-service-nse.c
parentf4acc7da5d674b80115290a6f631467fc34f0826 (diff)
downloadgnunet-2e340e08850492020c4494e78293def9b6943706.tar.gz
gnunet-2e340e08850492020c4494e78293def9b6943706.zip
-report id of peer that is missbehaving
Diffstat (limited to 'src/nse/gnunet-service-nse.c')
-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 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,
954 } 954 }
955 if (my_proof / (100 * ROUND_SIZE) < counter / (100 * ROUND_SIZE)) 955 if (my_proof / (100 * ROUND_SIZE) < counter / (100 * ROUND_SIZE))
956 { 956 {
957 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Testing proofs currently at %llu\n", 957 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
958 "Testing proofs currently at %llu\n",
958 (unsigned long long) counter); 959 (unsigned long long) counter);
959 /* remember progress every 100 rounds */ 960 /* remember progress every 100 rounds */
960 my_proof = counter; 961 my_proof = counter;
@@ -1132,6 +1133,9 @@ handle_p2p_size_estimate (void *cls,
1132 return GNUNET_OK; /* ignore, simply too early/late */ 1133 return GNUNET_OK; /* ignore, simply too early/late */
1133 if (GNUNET_YES != verify_message_crypto (incoming_flood)) 1134 if (GNUNET_YES != verify_message_crypto (incoming_flood))
1134 { 1135 {
1136 GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
1137 "Peer %s is likely ill-configured!\n",
1138 GNUNET_i2s (peer));
1135 GNUNET_break_op (0); 1139 GNUNET_break_op (0);
1136 return GNUNET_OK; 1140 return GNUNET_OK;
1137 } 1141 }