print source
authorChristian Grothoff <christian@grothoff.org>
Fri, 10 Sep 2010 09:17:45 +0000 (09:17 +0000)
committerChristian Grothoff <christian@grothoff.org>
Fri, 10 Sep 2010 09:17:45 +0000 (09:17 +0000)
src/transport/gnunet-service-transport.c

index d49c246f0285024e4ff1d2812d9b1100d48b64f5..d1ef737820ffc87aa005f6e94a6305bb604e0554 100644 (file)
@@ -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)
+                 : "<inbound>");
       return GNUNET_SYSERR;
     }
 #if DEBUG_PING_PONG