mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
TCP relays are not sure to be valid onion nodes.
This commit is contained in:
parent
82ad181e31
commit
88dbc9b56c
|
@ -1204,7 +1204,7 @@ static void populate_path_nodes_tcp(Onion_Client *onion_c)
|
||||||
unsigned int i;
|
unsigned int i;
|
||||||
|
|
||||||
for (i = 0; i < num_nodes; ++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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user