diff options
author | Bart Polot <bart@net.in.tum.de> | 2011-09-21 20:42:20 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2011-09-21 20:42:20 +0000 |
commit | e73416feea2be995456c62f74b33e714501cdb33 (patch) | |
tree | e42d8b3cfef656ff3f21ac5be33406142f1f2499 /src/mesh/mesh_tunnel_tree.h | |
parent | 1b4c0a8b0c8cfc6e36197c37ca0cbaaeb5eb7927 (diff) | |
download | gnunet-e73416feea2be995456c62f74b33e714501cdb33.tar.gz gnunet-e73416feea2be995456c62f74b33e714501cdb33.zip |
Fixed double chaining on note reattachment
Diffstat (limited to 'src/mesh/mesh_tunnel_tree.h')
-rw-r--r-- | src/mesh/mesh_tunnel_tree.h | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/src/mesh/mesh_tunnel_tree.h b/src/mesh/mesh_tunnel_tree.h index 4d46d734f..401ebb089 100644 --- a/src/mesh/mesh_tunnel_tree.h +++ b/src/mesh/mesh_tunnel_tree.h | |||
@@ -189,7 +189,7 @@ path_get_length (struct MeshPeerPath *path); | |||
189 | /** | 189 | /** |
190 | * Get the cost of the path relative to the already built tunnel tree | 190 | * Get the cost of the path relative to the already built tunnel tree |
191 | * | 191 | * |
192 | * @param t The tunnel to which compare | 192 | * @param t The tunnel tree to which compare |
193 | * @param path The individual path to reach a peer | 193 | * @param path The individual path to reach a peer |
194 | * | 194 | * |
195 | * @return Number of hops to reach destination, UINT_MAX in case the peer is not | 195 | * @return Number of hops to reach destination, UINT_MAX in case the peer is not |
@@ -212,19 +212,6 @@ tree_find_peer (struct MeshTunnelTreeNode *root, GNUNET_PEER_Id peer_id); | |||
212 | 212 | ||
213 | 213 | ||
214 | /** | 214 | /** |
215 | * Recusively mark peer and children as disconnected, notify client | ||
216 | * | ||
217 | * @param tree Tree this node belongs to | ||
218 | * @param parent Node to be clean, potentially with children | ||
219 | * @param cb Callback to use to notify about disconnected peers | ||
220 | */ | ||
221 | void | ||
222 | tree_mark_peers_disconnected (struct MeshTunnelTree *tree, | ||
223 | struct MeshTunnelTreeNode *parent, | ||
224 | MeshNodeDisconnectCB cb); | ||
225 | |||
226 | |||
227 | /** | ||
228 | * Delete the current path to the peer, including all now unused relays. | 215 | * Delete the current path to the peer, including all now unused relays. |
229 | * The destination peer is NOT destroyed, it is returned in order to either set | 216 | * The destination peer is NOT destroyed, it is returned in order to either set |
230 | * a new path to it or destroy it explicitly, taking care of it's child nodes. | 217 | * a new path to it or destroy it explicitly, taking care of it's child nodes. |