- only complain if mid is BIGGER than expected, because sender sent unauthorized...
authorBart Polot <bart@net.in.tum.de>
Fri, 29 Nov 2013 13:28:37 +0000 (13:28 +0000)
committerBart Polot <bart@net.in.tum.de>
Fri, 29 Nov 2013 13:28:37 +0000 (13:28 +0000)
src/mesh/gnunet-service-mesh_channel.c

index 7cf53b333342b05f4b27ca1f48d93aabffe1436f..831010024bed0ca8ae04d463e43ce4d06e967717 100644 (file)
@@ -1710,7 +1710,7 @@ GMCH_handle_data (struct MeshChannel *ch,
   }
   else
   {
-    GNUNET_break_op (0);
+    GNUNET_break_op (GM_is_pid_bigger (rel->mid_recv, mid));
     LOG (GNUNET_ERROR_TYPE_DEBUG,
                 " !!! MID %u not expected (%u - %u), dropping!\n",
                 mid, rel->mid_recv, rel->mid_recv + 63);