diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2015-02-18 19:43:27 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2015-02-18 19:43:27 +0000 |
commit | e7fb946a1569945af56ff6ebdc668a6ad308d6e2 (patch) | |
tree | 4d84327c9f504abbabc5bd069a0e92eceea89db6 /protocols/Tox/src/tox_network.cpp | |
parent | 30639dcba8b8b57e175aa04e6cbe91ebfad149f2 (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/Tox/src/tox_network.cpp')
-rw-r--r-- | protocols/Tox/src/tox_network.cpp | 2 |
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);
|