From: Guus Sliepen Date: Tue, 20 Jan 2009 12:12:41 +0000 (+0100) Subject: Use a global list to track outgoing connections. X-Git-Tag: release-1.0.10~91 X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=commitdiff_plain;h=503c32eb0ef9d6329e931559082f4ddf6d487dc6;hp=503c32eb0ef9d6329e931559082f4ddf6d487dc6 Use a global list to track outgoing connections. 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. ---