diff options
Diffstat (limited to 'src/cadet/gnunet-service-cadet_core.c')
-rw-r--r-- | src/cadet/gnunet-service-cadet_core.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cadet/gnunet-service-cadet_core.c b/src/cadet/gnunet-service-cadet_core.c index 04847f906..9a83fa31d 100644 --- a/src/cadet/gnunet-service-cadet_core.c +++ b/src/cadet/gnunet-service-cadet_core.c | |||
@@ -822,13 +822,13 @@ 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) && |
829 | (GNUNET_YES == GCP_check_and_update_monotime(origin, msg->monotime)) && | 829 | (GNUNET_YES == GCP_check_and_update_monotime (origin, msg->monotime)) && |
830 | ( GNUNET_OK == GCP_check_monotime_sig(origin, msg)) && | 830 | (GNUNET_OK == GCP_check_monotime_sig (origin, msg)) && |
831 | (CADET_TUNNEL_KEY_OK == GCT_get_estate(t))) | 831 | (CADET_TUNNEL_KEY_OK == GCT_get_estate (t))) |
832 | { | 832 | { |
833 | GCT_change_estate (t, CADET_TUNNEL_KEY_UNINITIALIZED); | 833 | GCT_change_estate (t, CADET_TUNNEL_KEY_UNINITIALIZED); |
834 | } | 834 | } |