not exactly a protocol violation, but a case for stats
authorChristian Grothoff <christian@grothoff.org>
Wed, 22 Feb 2017 13:31:18 +0000 (14:31 +0100)
committerChristian Grothoff <christian@grothoff.org>
Wed, 22 Feb 2017 13:31:18 +0000 (14:31 +0100)
src/cadet/gnunet-service-cadet-new_tunnels.c

index ed3a3a36215df27a27bdc48bcc357aa3b5814fc2..af77ea0673793768297922a4fb98f4d91ca8d553 100644 (file)
@@ -1820,7 +1820,10 @@ GCT_handle_kx_auth (struct CadetTConnection *ct,
   {
     /* This KX_AUTH is not using the latest KX/KX_AUTH data
        we transmitted to the sender, refuse it, try KX again. */
-    GNUNET_break_op (0);
+    GNUNET_STATISTICS_update (stats,
+                              "# KX_AUTH not using our last KX received (auth failure)",
+                              1,
+                              GNUNET_NO);
     send_kx (t,
              NULL,
              &t->ax);