aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schanzenbach <mschanzenbach@posteo.de>2020-07-06 23:34:48 +0200
committerMartin Schanzenbach <mschanzenbach@posteo.de>2020-07-06 23:34:48 +0200
commit309ad1364e8ea04a0a2dff35919b3c8a0fadf0b1 (patch)
tree0abb9a572276d435a7aa57816fc99439855ac110
parent13b2791f49d8aeacb96fa005942ad98ec2c88d50 (diff)
downloadgnunet-309ad1364e8ea04a0a2dff35919b3c8a0fadf0b1.tar.gz
gnunet-309ad1364e8ea04a0a2dff35919b3c8a0fadf0b1.zip
fix: cadet fix to use correct tunnel end
-rw-r--r--src/cadet/gnunet-service-cadet_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cadet/gnunet-service-cadet_core.c b/src/cadet/gnunet-service-cadet_core.c
index 04847f906..db47c8a90 100644
--- a/src/cadet/gnunet-service-cadet_core.c
+++ b/src/cadet/gnunet-service-cadet_core.c
@@ -822,7 +822,7 @@ handle_connection_create (
822 GCP_2s (origin), 822 GCP_2s (origin),
823 GNUNET_sh2s (&msg->cid.connection_of_tunnel)); 823 GNUNET_sh2s (&msg->cid.connection_of_tunnel));
824 path = GCPP_get_path_from_route (path_length - 1, pids); 824 path = GCPP_get_path_from_route (path_length - 1, pids);
825 t = GCP_get_tunnel (sender, GNUNET_YES); 825 t = GCP_get_tunnel (origin, GNUNET_YES);
826 826
827 // Check for CADET state in case the other side has lost the tunnel (xrs,t3ss) 827 // Check for CADET state in case the other side has lost the tunnel (xrs,t3ss)
828 if ((GNUNET_YES == msg->has_monotime) && 828 if ((GNUNET_YES == msg->has_monotime) &&