diff options
author | Bart Polot <bart@net.in.tum.de> | 2014-03-22 02:58:40 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2014-03-22 02:58:40 +0000 |
commit | 1270474ed38e703bf54c2bb9a7372ed27ce3d4e5 (patch) | |
tree | bb314cd5933138bf3e262225b751711a40f914bb /src/mesh/gnunet-service-mesh_tunnel.c | |
parent | 6092ea72cdffd0af326cef4ebd4f3fd4e0055d90 (diff) | |
download | gnunet-1270474ed38e703bf54c2bb9a7372ed27ce3d4e5.tar.gz gnunet-1270474ed38e703bf54c2bb9a7372ed27ce3d4e5.zip |
- set first channel number properly
Diffstat (limited to 'src/mesh/gnunet-service-mesh_tunnel.c')
-rw-r--r-- | src/mesh/gnunet-service-mesh_tunnel.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesh/gnunet-service-mesh_tunnel.c b/src/mesh/gnunet-service-mesh_tunnel.c index 2d31ee3f0..78315240a 100644 --- a/src/mesh/gnunet-service-mesh_tunnel.c +++ b/src/mesh/gnunet-service-mesh_tunnel.c | |||
@@ -2448,6 +2448,7 @@ GMT_get_next_chid (struct MeshTunnel3 *t) | |||
2448 | mask = 0x4000000; | 2448 | mask = 0x4000000; |
2449 | else | 2449 | else |
2450 | mask = 0x0; | 2450 | mask = 0x0; |
2451 | t->next_chid |= mask; | ||
2451 | 2452 | ||
2452 | while (NULL != GMT_get_channel (t, t->next_chid)) | 2453 | while (NULL != GMT_get_channel (t, t->next_chid)) |
2453 | { | 2454 | { |