From 266ea462443452553f4c694181285a62b91f2c95 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Thu, 5 Mar 2015 05:55:54 +0000 Subject: hardcoded nodes removed git-svn-id: http://svn.miranda-ng.org/main/trunk@12319 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Tox/src/tox_network.cpp | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/protocols/Tox/src/tox_network.cpp b/protocols/Tox/src/tox_network.cpp index 694d966753..109cedbf99 100644 --- a/protocols/Tox/src/tox_network.cpp +++ b/protocols/Tox/src/tox_network.cpp @@ -72,21 +72,8 @@ void CToxProto::BootstrapNodes() { debugLogA("CToxProto::BootstrapDht: bootstraping DHT"); bool isIPv6 = !getBool("DisableIPv6", 0); - int nodesLoaded = - BootstrapNodesFromDb(isIPv6) + - BootstrapNodesFromIni(isIPv6); - if (!nodesLoaded) - { - tox_bootstrap_from_address( - tox, "192.254.75.102", 33445, - ToxBinAddress("951C88B7E75C867418ACDB5D273821372BB5BD652740BCDF623A4FA293E75D2F")); - if (isIPv6) - { - tox_bootstrap_from_address( - tox, "2607:5600:284::2", 33445, - ToxBinAddress("951C88B7E75C867418ACDB5D273821372BB5BD652740BCDF623A4FA293E75D2F")); - } - } + BootstrapNodesFromDb(isIPv6); + BootstrapNodesFromIni(isIPv6); } void CToxProto::TryConnect() -- cgit v1.2.3