Replace the connection_tree with a connection_list.
authorGuus Sliepen <guus@tinc-vpn.org>
Sun, 7 Oct 2012 19:59:53 +0000 (21:59 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Sun, 7 Oct 2012 19:59:53 +0000 (21:59 +0200)
commitff306f0cdaedb50de1472e7c1fb55de922a6ca60
tree9269772be6d0b4f48c5980bf168a6cdbb9c8c0e7
parentce059e36fdb3d3049c278e8b2f36b03c93778996
Replace the connection_tree with a connection_list.

The tree functions were never used on the connection_tree, a list is more appropriate.
Also be more paranoid about connections disappearing while traversing the list.
15 files changed:
src/connection.c
src/connection.h
src/control.c
src/graph.c
src/logger.c
src/meta.c
src/net.c
src/net_packet.c
src/net_setup.c
src/net_socket.c
src/protocol_auth.c
src/protocol_edge.c
src/protocol_key.c
src/route.c
src/sptps_test.c