summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-02-18 19:43:27 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-02-18 19:43:27 +0000
commite7fb946a1569945af56ff6ebdc668a6ad308d6e2 (patch)
tree4d84327c9f504abbabc5bd069a0e92eceea89db6 /protocols
parent30639dcba8b8b57e175aa04e6cbe91ebfad149f2 (diff)
Tox: fixed bootstrappig of IPv6 nodes
git-svn-id: http://svn.miranda-ng.org/main/trunk@12185 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r--protocols/Tox/src/tox_network.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Tox/src/tox_network.cpp b/protocols/Tox/src/tox_network.cpp
index 86afc17607..977e4c08ec 100644
--- a/protocols/Tox/src/tox_network.cpp
+++ b/protocols/Tox/src/tox_network.cpp
@@ -26,7 +26,7 @@ void CToxProto::BootstrapNodes()
ptrA address(db_get_sa(NULL, MODULE, setting));
if (address == NULL && !isIPv4)
{
- mir_snprintf(setting, SIZEOF(setting), TOX_SETTINGS_NODE_IPV4, i + 1);
+ mir_snprintf(setting, SIZEOF(setting), TOX_SETTINGS_NODE_IPV6, i + 1);
address = db_get_sa(NULL, MODULE, setting);
}
mir_snprintf(setting, SIZEOF(setting), TOX_SETTINGS_NODE_PORT, i + 1);