]> git.meshlink.io Git - meshlink/commit
Don't bind outgoing TCP sockets anymore.
authorGuus Sliepen <guus@tinc-vpn.org>
Mon, 20 Feb 2012 15:52:53 +0000 (16:52 +0100)
committerGuus Sliepen <guus@tinc-vpn.org>
Mon, 20 Feb 2012 15:52:53 +0000 (16:52 +0100)
commitcff5a844a3e6b494f4a4f6eb5b48a84780f2d0e5
tree3b43c41cc8694591200ff604b41ca5627c59d093
parent0233b1d710222cb09be0cbd08c1297e3ece38a9f
Don't bind outgoing TCP sockets anymore.

The code introduced in commit 41a05f59ba2c3eb5caab555f096ed1b9fbe69ee3 is not
needed anymore, since tinc has been able to handle UDP packets from a different
source address than those of the TCP packets since 1.0.10.  When using multiple
BindToAddress statements, this code does not make sense anymore, we do want the
kernel to choose the source address on its own.
src/net_socket.c