remove port from transport section because it was getting in the way of making sense...
[oweals/gnunet.git] / src / transport / gnunet-service-transport.c
index d49c246f0285024e4ff1d2812d9b1100d48b64f5..1d0e0cc15a4f29c537bda29471168a02ca33b4bb 100644 (file)
@@ -4427,8 +4427,14 @@ 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' destined for `%s' which is not me!\n"),
+                 "PING",
+                 (sender_address != NULL)
+                 ? a2s (plugin->short_name,
+                        (const struct sockaddr *)sender_address,
+                        sender_address_len)
+                 : "<inbound>",
+                 GNUNET_i2s (&ping->target));
       return GNUNET_SYSERR;
     }
 #if DEBUG_PING_PONG