When relaying, send probes to the destination, not the source.
[tinc] / src / net_packet.c
index 3284524..ddfc872 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 {