summaryrefslogtreecommitdiff
path: root/src/transport/gnunet-service-transport_validation.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-10-26 14:48:56 +0000
committerChristian Grothoff <christian@grothoff.org>2015-10-26 14:48:56 +0000
commit019a74602c855ecde0fadeb74176401a3b4ec01c (patch)
tree295c96de42a69b9fa411a4c8b9e1dc3a15b633be /src/transport/gnunet-service-transport_validation.c
parent24b29e7ed4cc4b068d45bfcdda8a4c2c7e3d458c (diff)
-check transport-side for connect-to-self
Diffstat (limited to 'src/transport/gnunet-service-transport_validation.c')
-rw-r--r--src/transport/gnunet-service-transport_validation.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/transport/gnunet-service-transport_validation.c b/src/transport/gnunet-service-transport_validation.c
index d36418cc2..5470ce8a6 100644
--- a/src/transport/gnunet-service-transport_validation.c
+++ b/src/transport/gnunet-service-transport_validation.c
@@ -852,6 +852,11 @@ add_valid_address (void *cls,
{
/* Why do we try to add an ill-formed address? */
GNUNET_break (0);
+ GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
+ "Address with %u bytes for plugin %s and peer %s is malformed\n",
+ (unsigned int) address->address_length,
+ address->transport_name,
+ GNUNET_i2s (&pid));
return GNUNET_OK;
}