]> www.tinc-vpn.org Git - tinc/blobdiff - src/net_packet.c
When relaying, send probes to the destination, not the source.
[tinc] / src / net_packet.c
index 328452414f4da9042a51d5744d7fe5a306091182..ddfc87216fb81654499633e9eaac51f277f640db 100644 (file)
@@ -1405,7 +1405,7 @@ skip_harder:
 
                if(to != myself) {
                        send_sptps_data_priv(to, n, 0, DATA(&pkt), pkt.len - 2 * sizeof(node_id_t));
-                       try_tx_sptps(n, true);
+                       try_tx_sptps(to, true);
                        return;
                }
        } else {