projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use the correct originator node when relaying SPTPS UDP packets.
[tinc]
/
src
/
net_packet.c
diff --git
a/src/net_packet.c
b/src/net_packet.c
index
ddfc872
..
27a6542
100644
(file)
--- a/
src/net_packet.c
+++ b/
src/net_packet.c
@@
-1404,7
+1404,7
@@
skip_harder:
/* If we're not the final recipient, relay the packet. */
if(to != myself) {
/* If we're not the final recipient, relay the packet. */
if(to != myself) {
- send_sptps_data_priv(to,
n
, 0, DATA(&pkt), pkt.len - 2 * sizeof(node_id_t));
+ send_sptps_data_priv(to,
from
, 0, DATA(&pkt), pkt.len - 2 * sizeof(node_id_t));
try_tx_sptps(to, true);
return;
}
try_tx_sptps(to, true);
return;
}