Use a global list to track outgoing connections.
authorGuus Sliepen <guus@tinc-vpn.org>
Tue, 20 Jan 2009 12:12:41 +0000 (13:12 +0100)
committerGuus Sliepen <guus@tinc-vpn.org>
Tue, 20 Jan 2009 12:12:41 +0000 (13:12 +0100)
Previously an outgoing_t was maintained for each outgoing connection,
but the pointer to it was either stored in a connection_t or in an event_t.
This made it very hard to keep track of and to clean up.

Now a list is created when tinc starts and reads all the ConnectTo variables,
and which is recreated when tinc receives a HUP signal.


No differences found