]> git.meshlink.io Git - meshlink/commit
Improve UDP address selection.
authorGuus Sliepen <guus@tinc-vpn.org>
Mon, 19 Nov 2012 12:50:17 +0000 (13:50 +0100)
committerGuus Sliepen <guus@tinc-vpn.org>
Mon, 19 Nov 2012 12:50:17 +0000 (13:50 +0100)
commit3c1b7047332f4b5e9d5ae7109e696b33712a5fb2
tree3e3700bd029b65e5f0031045f72e911d14fe2caa
parentf57129ce3439f3826c12f15feb5df05e5ad8cab9
Improve UDP address selection.

We don't need to search the whole edge tree, we can use the node's own edge
tree since each edge has a pointer to its reverse. Also, we do need to make
sure we try the reflexive address often.
src/net_packet.c