When relaying, send probes to the destination, not the source.
authorEtienne Dechamps <etienne@edechamps.fr>
Sun, 10 May 2015 17:37:30 +0000 (18:37 +0100)
committerEtienne Dechamps <etienne@edechamps.fr>
Sun, 10 May 2015 17:37:30 +0000 (18:37 +0100)
This seems to be a typo from c23e50385d9de538af676706596f6508b2ceb01a.
Achievement unlocked: got a one-line commit wrong.

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 {