]> www.tinc-vpn.org Git - tinc/blobdiff - src/net_packet.c
Don't send UDP probes past static relays.
[tinc] / src / net_packet.c
index 8dba3258d989b1c159eb9307390f3ad5896c1ec8..45989518ac8b3f6d9b58edcd6d59d4d59d40a056 100644 (file)
@@ -1137,7 +1137,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. */