gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r36433 - gnunet/src/cadet


From: gnunet
Subject: [GNUnet-SVN] r36433 - gnunet/src/cadet
Date: Fri, 2 Oct 2015 17:07:44 +0200

Author: bartpolot
Date: 2015-10-02 17:07:44 +0200 (Fri, 02 Oct 2015)
New Revision: 36433

Modified:
   gnunet/src/cadet/gnunet-service-cadet_channel.c
Log:
- don't show WARNINGs on duplicate traffic

Modified: gnunet/src/cadet/gnunet-service-cadet_channel.c
===================================================================
--- gnunet/src/cadet/gnunet-service-cadet_channel.c     2015-10-02 15:07:43 UTC 
(rev 36432)
+++ gnunet/src/cadet/gnunet-service-cadet_channel.c     2015-10-02 15:07:44 UTC 
(rev 36433)
@@ -2001,16 +2001,17 @@
   }
   else
   {
+    GNUNET_STATISTICS_update (stats, "# duplicate MID", 1, GNUNET_NO);
     if (GC_is_pid_bigger (rel->mid_recv, mid))
     {
       GNUNET_break_op (0);
-      LOG (GNUNET_ERROR_TYPE_WARNING,
+      LOG (GNUNET_ERROR_TYPE_INFO,
           "MID %u on channel %s not expected (window: %u - %u). Dropping!\n",
           mid, GCCH_2s (ch), rel->mid_recv, rel->mid_recv + 63);
     }
     else
     {
-      LOG (GNUNET_ERROR_TYPE_WARNING,
+      LOG (GNUNET_ERROR_TYPE_INFO,
            "Duplicate MID %u, channel %s (expecting MID %u). Re-sending 
ACK!\n",
            mid, GCCH_2s (ch), rel->mid_recv);
       if (NULL != rel->uniq)
@@ -2017,7 +2018,7 @@
       {
         LOG (GNUNET_ERROR_TYPE_WARNING,
             "We are trying to send an ACK, but don't seem have the "
-            "bandwidth. Try to increase your ats QUOTA in you config file\n");
+            "bandwidth. Try to increase your [ats] QUOTA in you config 
file\n");
       }
 
     }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]