From 3b6807a96eb4263c3dda426fa76f6387a015e89f Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 10 Sep 2010 09:17:45 +0000 Subject: [PATCH] print source --- src/transport/gnunet-service-transport.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/transport/gnunet-service-transport.c b/src/transport/gnunet-service-transport.c index d49c246f0..d1ef73782 100644 --- a/src/transport/gnunet-service-transport.c +++ b/src/transport/gnunet-service-transport.c @@ -4427,8 +4427,13 @@ handle_ping(void *cls, const struct GNUNET_MessageHeader *message, sizeof (struct GNUNET_PeerIdentity))) { GNUNET_log (GNUNET_ERROR_TYPE_WARNING, - _("Received `%s' message not destined for me!\n"), - "PING"); + _("Received `%s' message from `%s' not destined for me!\n"), + "PING", + (sender_address != NULL) + ? a2s (plugin->short_name, + (const struct sockaddr *)sender_address, + sender_address_len) + : ""); return GNUNET_SYSERR; } #if DEBUG_PING_PONG -- 2.25.1