debuggging message for "send ACK but no session found" issue
authorMatthias Wachs <wachs@net.in.tum.de>
Sat, 29 Mar 2014 06:44:04 +0000 (06:44 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Sat, 29 Mar 2014 06:44:04 +0000 (06:44 +0000)
src/transport/plugin_transport_udp.c

index e3ee55299eb157f61ab3255c077ad0c3ffe5ca62..b60de7e0560e6968ec38c8770263533a6ba69098 100644 (file)
@@ -2177,7 +2177,8 @@ ack_proc (void *cls, uint32_t id, const struct GNUNET_MessageHeader *msg)
   s = l_ctx.res;
   if (NULL == s)
   {
-    GNUNET_break (0);
+    GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Trying to transmit ACK to peer `%s' but not session found!\n",
+        GNUNET_a2s(rc->src_addr, rc->addr_len));
     return;
   }
   if (s->flow_delay_for_other_peer.rel_value_us <= UINT32_MAX)