]> git.meshlink.io Git - meshlink/commit
Do not set indirect flag on edges from nodes with multiple addresses.
authorGuus Sliepen <guus@tinc-vpn.org>
Wed, 9 Mar 2011 08:34:56 +0000 (09:34 +0100)
committerGuus Sliepen <guus@tinc-vpn.org>
Wed, 9 Mar 2011 08:34:56 +0000 (09:34 +0100)
commit0aa86d4b8b3010522e6de8842f5bd29004ba3df6
treea177bb712f2597601c97c414d036abcdcc321d95
parent7cf68b5e35c002511cc7468967de6a75934cc998
Do not set indirect flag on edges from nodes with multiple addresses.

Since tinc now handles UDP packets with a different source address and port
than used for TCP connections, the heuristic to treat edges as indirect when
tinc could detect that multiple addresses were used does not make sense
anymore, and can actually reduce performance.
src/graph.c