summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/transport/gnunet-service-transport_manipulation.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/transport/gnunet-service-transport_manipulation.c b/src/transport/gnunet-service-transport_manipulation.c
index 4d6c3de9d..76278aa4b 100644
--- a/src/transport/gnunet-service-transport_manipulation.c
+++ b/src/transport/gnunet-service-transport_manipulation.c
@@ -275,6 +275,7 @@ GST_manipulation_set_metric (void *cls, struct GNUNET_SERVER_Client *client,
if (0 == ntohs (tm->ats_count))
GNUNET_SERVER_receive_done (client, GNUNET_SYSERR);
+ direction = TM_BOTH;
switch (ntohs(tm->direction)) {
case 1:
direction = TM_SEND;