diff options
Diffstat (limited to 'src/mesh/mesh_tunnel_tree.h')
-rw-r--r-- | src/mesh/mesh_tunnel_tree.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mesh/mesh_tunnel_tree.h b/src/mesh/mesh_tunnel_tree.h index d0976579f..59a60839d 100644 --- a/src/mesh/mesh_tunnel_tree.h +++ b/src/mesh/mesh_tunnel_tree.h | |||
@@ -348,7 +348,10 @@ tree_notify_connection_broken (struct MeshTunnelTree *t, | |||
348 | 348 | ||
349 | 349 | ||
350 | /** | 350 | /** |
351 | * Deletes a peer from a tunnel, marking its children as disconnected. | 351 | * Deletes a peer from a tunnel, liberating all unused resources on the path to |
352 | * it. It shouldn't have children, if it has they will be destroyed as well. | ||
353 | * If the tree is not local and no longer has any paths, the root node will be | ||
354 | * destroyed and marked as NULL. | ||
352 | * | 355 | * |
353 | * @param t Tunnel tree to use. | 356 | * @param t Tunnel tree to use. |
354 | * @param peer Short ID of the peer to remove from the tunnel tree. | 357 | * @param peer Short ID of the peer to remove from the tunnel tree. |