remov break_op
authorMatthias Wachs <wachs@net.in.tum.de>
Wed, 2 Nov 2011 17:05:22 +0000 (17:05 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Wed, 2 Nov 2011 17:05:22 +0000 (17:05 +0000)
src/transport/gnunet-service-transport_validation.c

index 71acd1181e438fdad14eb1ebda5fd0f18b4454f4..9d543f2cb0d1835fd67ec95bc8ea1274d19d58b5 100644 (file)
@@ -594,7 +594,9 @@ GST_validation_handle_ping (const struct GNUNET_PeerIdentity *sender,
       memcmp (&ping->target, &GST_my_identity,
               sizeof (struct GNUNET_PeerIdentity)))
   {
-    GNUNET_break_op (0);
+    GNUNET_STATISTICS_update (GST_stats,
+                              gettext_noop ("# PING message for different peer received"), 1,
+                              GNUNET_NO);
     return;
   }
   GNUNET_STATISTICS_update (GST_stats,