diff options
Diffstat (limited to 'src/cadet/gnunet-service-cadet_connection.c')
-rw-r--r-- | src/cadet/gnunet-service-cadet_connection.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cadet/gnunet-service-cadet_connection.c b/src/cadet/gnunet-service-cadet_connection.c index 7b3a0b975..7214dad97 100644 --- a/src/cadet/gnunet-service-cadet_connection.c +++ b/src/cadet/gnunet-service-cadet_connection.c | |||
@@ -630,6 +630,8 @@ send_create (void *cls) | |||
630 | env = GNUNET_MQ_msg_extra (create_msg, | 630 | env = GNUNET_MQ_msg_extra (create_msg, |
631 | (2 + cc->off) * sizeof (struct GNUNET_PeerIdentity), | 631 | (2 + cc->off) * sizeof (struct GNUNET_PeerIdentity), |
632 | GNUNET_MESSAGE_TYPE_CADET_CONNECTION_CREATE); | 632 | GNUNET_MESSAGE_TYPE_CADET_CONNECTION_CREATE); |
633 | //TODO This will be removed in a major release, because this will be a protocol breaking change. We shift here to be compatible with GNUNET_CADET_OPTION_RELIABLE that was removed, and to already use the newly introduced options. | ||
634 | create_msg->options = GNUNET_MQ_PREF_RELIABLE >> 10; | ||
633 | create_msg->cid = cc->cid; | 635 | create_msg->cid = cc->cid; |
634 | pids = (struct GNUNET_PeerIdentity *) &create_msg[1]; | 636 | pids = (struct GNUNET_PeerIdentity *) &create_msg[1]; |
635 | pids[0] = my_full_id; | 637 | pids[0] = my_full_id; |