diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-01-20 10:08:07 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-01-20 10:08:07 +0100 |
commit | 7d96a8234bbd9d9a4dc431c52d92ebb604084c70 (patch) | |
tree | d2162b1006202ed154bf128293b9ec54fc38ac5e /src/cadet/gnunet-service-cadet_connection.c | |
parent | aedd5919e802370061850486c96da72b25df7f22 (diff) | |
download | gnunet-7d96a8234bbd9d9a4dc431c52d92ebb604084c70.tar.gz gnunet-7d96a8234bbd9d9a4dc431c52d92ebb604084c70.zip |
more work on channel/tunnel logic
Diffstat (limited to 'src/cadet/gnunet-service-cadet_connection.c')
-rw-r--r-- | src/cadet/gnunet-service-cadet_connection.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cadet/gnunet-service-cadet_connection.c b/src/cadet/gnunet-service-cadet_connection.c index 931b32b95..c4802abde 100644 --- a/src/cadet/gnunet-service-cadet_connection.c +++ b/src/cadet/gnunet-service-cadet_connection.c | |||
@@ -617,7 +617,7 @@ send_ack (struct CadetConnection *c, | |||
617 | /* Build ACK message and send on conn */ | 617 | /* Build ACK message and send on conn */ |
618 | msg.header.size = htons (sizeof (msg)); | 618 | msg.header.size = htons (sizeof (msg)); |
619 | msg.header.type = htons (GNUNET_MESSAGE_TYPE_CADET_CONNECTION_HOP_BY_HOP_ENCRYPTED_ACK); | 619 | msg.header.type = htons (GNUNET_MESSAGE_TYPE_CADET_CONNECTION_HOP_BY_HOP_ENCRYPTED_ACK); |
620 | msg.cemi = ack_cemi; | 620 | msg.cemi_max = ack_cemi; |
621 | msg.cid = c->id; | 621 | msg.cid = c->id; |
622 | 622 | ||
623 | prev_fc->ack_msg = GCC_send_prebuilt_message (&msg.header, | 623 | prev_fc->ack_msg = GCC_send_prebuilt_message (&msg.header, |
@@ -2373,7 +2373,7 @@ GCC_handle_ack (struct CadetPeer *peer, | |||
2373 | return; | 2373 | return; |
2374 | } | 2374 | } |
2375 | 2375 | ||
2376 | ack = msg->cemi; | 2376 | ack = msg->cemi_max; |
2377 | LOG (GNUNET_ERROR_TYPE_DEBUG, " %s ACK %u (was %u)\n", | 2377 | LOG (GNUNET_ERROR_TYPE_DEBUG, " %s ACK %u (was %u)\n", |
2378 | GC_f2s (fwd), | 2378 | GC_f2s (fwd), |
2379 | ntohl (ack.pid), | 2379 | ntohl (ack.pid), |