From: Guus Sliepen Date: Sun, 18 Aug 2013 21:55:40 +0000 (+0200) Subject: Bind outgoing sockets again. X-Git-Tag: release-1.1pre9~34 X-Git-Url: https://tinc-vpn.org/git/browse?a=commitdiff_plain;ds=sidebyside;h=65f5e8fba45c6c51cfdfa2a41ab6db14663cdf73;hp=65f5e8fba45c6c51cfdfa2a41ab6db14663cdf73;p=tinc Bind outgoing sockets again. Commit cff5a84 removed the feature of binding outgoing TCP sockets to a local address. We now call bind() again, but only if there is exactly one listening socket with the same address family as the destination address of the outgoing socket. ---