From: Etienne Dechamps Date: Sun, 10 May 2015 17:37:30 +0000 (+0100) Subject: When relaying, send probes to the destination, not the source. X-Git-Tag: release-1.1pre12~171 X-Git-Url: https://tinc-vpn.org/git/browse?a=commitdiff_plain;h=9d223cb7e7f337c6b9707f07e3e9796108a3b597;p=tinc When relaying, send probes to the destination, not the source. This seems to be a typo from c23e50385d9de538af676706596f6508b2ceb01a. Achievement unlocked: got a one-line commit wrong. --- diff --git a/src/net_packet.c b/src/net_packet.c index 32845241..ddfc8721 100644 --- a/src/net_packet.c +++ b/src/net_packet.c @@ -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 {