From 88dbc9b56c87b232e8d5691003762b9891481ec3 Mon Sep 17 00:00:00 2001 From: irungentoo Date: Sun, 10 May 2015 21:01:42 -0400 Subject: [PATCH] TCP relays are not sure to be valid onion nodes. --- toxcore/onion_client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toxcore/onion_client.c b/toxcore/onion_client.c index 5db426d3..6575f632 100644 --- a/toxcore/onion_client.c +++ b/toxcore/onion_client.c @@ -1204,7 +1204,7 @@ static void populate_path_nodes_tcp(Onion_Client *onion_c) unsigned int i; for (i = 0; i < num_nodes; ++i) { - onion_add_path_node(onion_c, nodes_list[i].ip_port, nodes_list[i].public_key); + onion_add_bs_path_node(onion_c, nodes_list[i].ip_port, nodes_list[i].public_key); } }