summaryrefslogtreecommitdiff
path: root/toxcore/onion_announce.c
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore/onion_announce.c')
-rw-r--r--toxcore/onion_announce.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/onion_announce.c b/toxcore/onion_announce.c
index 5aec3492..6c9e8659 100644
--- a/toxcore/onion_announce.c
+++ b/toxcore/onion_announce.c
@@ -405,7 +405,7 @@ static int handle_announce_request(void *object, IP_Port source, const uint8_t *
405 405
406 /*Respond with a announce response packet*/ 406 /*Respond with a announce response packet*/
407 Node_format nodes_list[MAX_SENT_NODES]; 407 Node_format nodes_list[MAX_SENT_NODES];
408 unsigned int num_nodes = get_close_nodes(onion_a->dht, plain + ONION_PING_ID_SIZE, nodes_list, 0, 408 unsigned int num_nodes = get_close_nodes(onion_a->dht, plain + ONION_PING_ID_SIZE, nodes_list, net_family_unspec,
409 ip_is_lan(source.ip) == 0, 1); 409 ip_is_lan(source.ip) == 0, 1);
410 uint8_t nonce[CRYPTO_NONCE_SIZE]; 410 uint8_t nonce[CRYPTO_NONCE_SIZE];
411 random_nonce(nonce); 411 random_nonce(nonce);