diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2015-03-05 05:55:54 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2015-03-05 05:55:54 +0000 |
commit | 266ea462443452553f4c694181285a62b91f2c95 (patch) | |
tree | 9247d565af25344f4a8380696e482c12fdca492d /protocols/Tox/src/tox_network.cpp | |
parent | 2b94d2bc58c36524631fd7b0cbcde8a87f242d70 (diff) |
hardcoded nodes removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@12319 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/tox_network.cpp')
-rw-r--r-- | protocols/Tox/src/tox_network.cpp | 17 |
1 files 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()
|