added per message GNUNET_MQ_PriorityPreferences
[oweals/gnunet.git] / src / vpn / gnunet-service-vpn.c
index 91bc13fd82165c0813d51accd2c9096a7ab06a6b..7bd26798e22dd522e7969c17cf8acf060145def8 100644 (file)
@@ -589,6 +589,8 @@ send_to_channel (struct ChannelState *ts,
 
   GNUNET_assert (NULL != ts->channel);
   mq = GNUNET_CADET_get_mq (ts->channel);
+  GNUNET_MQ_env_set_options(env,
+                             GNUNET_MQ_PREF_DEFAULT);
   GNUNET_MQ_send (mq,
                   env);
   if (GNUNET_MQ_get_length (mq) > MAX_MESSAGE_QUEUE_SIZE)
@@ -1388,7 +1390,6 @@ create_channel (struct ChannelState *ts,
                                       ts,
                                       target,
                                       port,
-                                      GNUNET_CADET_OPTION_DEFAULT,
                                       NULL,
                                       &channel_cleaner,
                                       cadet_handlers);