diff options
author | Bart Polot <bart@net.in.tum.de> | 2011-09-21 01:35:02 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2011-09-21 01:35:02 +0000 |
commit | f591bfdc7b28e93b9412c2d9e031c8848ce90f55 (patch) | |
tree | 45fd7f067088a8b797eaca0ff95c8c1181ee3be1 /src/mesh/mesh_tunnel_tree.c | |
parent | fe84bb63919dc9353d963234264f91a455f3f679 (diff) | |
download | gnunet-f591bfdc7b28e93b9412c2d9e031c8848ce90f55.tar.gz gnunet-f591bfdc7b28e93b9412c2d9e031c8848ce90f55.zip |
Added testcase code, fixed minor bugs
Diffstat (limited to 'src/mesh/mesh_tunnel_tree.c')
-rw-r--r-- | src/mesh/mesh_tunnel_tree.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesh/mesh_tunnel_tree.c b/src/mesh/mesh_tunnel_tree.c index e838cefc1..ad9e9032a 100644 --- a/src/mesh/mesh_tunnel_tree.c +++ b/src/mesh/mesh_tunnel_tree.c | |||
@@ -357,6 +357,7 @@ tunnel_add_path (struct MeshTunnelTree *t, const struct MeshPeerPath *p, | |||
357 | i++; | 357 | i++; |
358 | parent = n; | 358 | parent = n; |
359 | } | 359 | } |
360 | n->status = MESH_PEER_SEARCHING; | ||
360 | 361 | ||
361 | /* Add info about first hop into hashmap. */ | 362 | /* Add info about first hop into hashmap. */ |
362 | if (me < p->length - 1) | 363 | if (me < p->length - 1) |