Make sure to discover MTU with relays.
authorEtienne Dechamps <etienne@edechamps.fr>
Sat, 4 Oct 2014 14:01:11 +0000 (15:01 +0100)
committerEtienne Dechamps <etienne@edechamps.fr>
Sat, 4 Oct 2014 14:11:46 +0000 (15:11 +0100)
commit9a366544c297d5c558800f9ffc301e2cb5a6a672
tree25395e347231ea9a9c9e494371c8e79d9b6a1bea
parent63daebcd1ec2975c0c2ad8e0ee0fced33b1fbbf0
Make sure to discover MTU with relays.

Currently, when tinc sends UDP SPTPS datagrams through a relay, it
doesn't automatically start discovering PMTU with the relay. This means
that unless something else triggers PMTU discovery, tinc will keep using
TCP when sending packets through the relay.

This patches fixes the issue by explicitly establishing UDP tunnels with
relays.
src/net_packet.c