- set first channel number properly
authorBart Polot <bart@net.in.tum.de>
Sat, 22 Mar 2014 02:58:40 +0000 (02:58 +0000)
committerBart Polot <bart@net.in.tum.de>
Sat, 22 Mar 2014 02:58:40 +0000 (02:58 +0000)
src/mesh/gnunet-service-mesh_tunnel.c

index 2d31ee3f0efa76bc66e8aaa445f1ca92ed67f42d..78315240a5f0e2348f7e15de2b8772ff742a760f 100644 (file)
@@ -2448,6 +2448,7 @@ GMT_get_next_chid (struct MeshTunnel3 *t)
     mask = 0x4000000;
   else
     mask = 0x0;
+  t->next_chid |= mask;
 
   while (NULL != GMT_get_channel (t, t->next_chid))
   {