summaryrefslogtreecommitdiff
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)
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 (
GCP_2s (origin),
GNUNET_sh2s (&msg->cid.connection_of_tunnel));
path = GCPP_get_path_from_route (path_length - 1, pids);
- t = GCP_get_tunnel (sender, GNUNET_YES);
+ t = GCP_get_tunnel (origin, GNUNET_YES);
// Check for CADET state in case the other side has lost the tunnel (xrs,t3ss)
if ((GNUNET_YES == msg->has_monotime) &&