Fix direct UDP communciation with pre-relaying 1.1 nodes.
authorEtienne Dechamps <etienne@edechamps.fr>
Mon, 18 May 2015 20:06:16 +0000 (21:06 +0100)
committerEtienne Dechamps <etienne@edechamps.fr>
Mon, 18 May 2015 20:08:43 +0000 (21:08 +0100)
commita196e9b0fde1e8a67108eacd51ac663eac5a63ae
tree0ce37f23331582c89b433b469fc851e743f0a63c
parentfef29d0193afc7e0a9dc766ef75b79cd4dc6fa37
Fix direct UDP communciation with pre-relaying 1.1 nodes.

try_tx_sptps() gives up on UDP communication if the recipient doesn't
support relaying. This is too restrictive - we only need the other node
to support relaying if we actually want to relay through them. If the
packet is sent directly, it's fine to send it to an old pre-node-IDs
tinc-1.1 node.
src/net_packet.c