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 d60c09c9..ab96a546 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 /*Respond with a announce response packet*/ 405 /*Respond with a announce response packet*/
406 Node_format nodes_list[MAX_SENT_NODES]; 406 Node_format nodes_list[MAX_SENT_NODES];
407 unsigned int num_nodes = get_close_nodes(onion_a->dht, plain + ONION_PING_ID_SIZE, nodes_list, 0, 407 unsigned int num_nodes = get_close_nodes(onion_a->dht, plain + ONION_PING_ID_SIZE, nodes_list, 0,
408 LAN_ip(source.ip) == 0, 1); 408 ip_is_lan(source.ip) == 0, 1);
409 uint8_t nonce[CRYPTO_NONCE_SIZE]; 409 uint8_t nonce[CRYPTO_NONCE_SIZE];
410 random_nonce(nonce); 410 random_nonce(nonce);
411 411