aboutsummaryrefslogtreecommitdiff
path: root/src/dht/gnunet-service-dht_neighbours.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dht/gnunet-service-dht_neighbours.c')
-rw-r--r--src/dht/gnunet-service-dht_neighbours.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dht/gnunet-service-dht_neighbours.c b/src/dht/gnunet-service-dht_neighbours.c
index 778bf7ce0..07eb1a6c1 100644
--- a/src/dht/gnunet-service-dht_neighbours.c
+++ b/src/dht/gnunet-service-dht_neighbours.c
@@ -1776,7 +1776,8 @@ GDS_NEIGHBOURS_handle_reply (struct PeerInfo *pi,
1776 prm->header.type = htons (GNUNET_MESSAGE_TYPE_DHT_P2P_RESULT); 1776 prm->header.type = htons (GNUNET_MESSAGE_TYPE_DHT_P2P_RESULT);
1777 prm->header.size = htons (sizeof (buf)); 1777 prm->header.size = htons (sizeof (buf));
1778 prm->type = htonl ((uint32_t) bd->type); 1778 prm->type = htonl ((uint32_t) bd->type);
1779 prm->options = htons ((uint32_t) ro); 1779 prm->reserved = htons (0);
1780 prm->options = htons ((uint16_t) ro);
1780 prm->put_path_length = htons ((uint16_t) ppl); 1781 prm->put_path_length = htons ((uint16_t) ppl);
1781 prm->get_path_length = htons ((uint16_t) get_path_length); 1782 prm->get_path_length = htons ((uint16_t) get_path_length);
1782 prm->expiration_time = GNUNET_TIME_absolute_hton (bd->expiration_time); 1783 prm->expiration_time = GNUNET_TIME_absolute_hton (bd->expiration_time);