Merge remote-tracking branch 'dechamps/staticfix' into 1.1
[tinc] / src / net_packet.c
index 2e47df4..245ce62 100644 (file)
@@ -1135,7 +1135,7 @@ static void try_tx_sptps(node_t *n, bool mtu) {
        /* If we do have a static relay, try everything with that one instead. */
 
        if(via != n)
-               try_tx_sptps(via, mtu);
+               return try_tx_sptps(via, mtu);
 
        /* Otherwise, try to establish UDP connectivity. */