diff options
author | Coren[m] <Break@Ocean> | 2013-09-10 16:36:20 +0200 |
---|---|---|
committer | Coren[m] <Break@Ocean> | 2013-09-10 16:36:20 +0200 |
commit | bcb283cf4512f36b189ce2d49eb040c205cbc778 (patch) | |
tree | b0678f9acf245e5620d21c046265a7b3ad98c561 /toxcore/tox.c | |
parent | bcf251ac3190db4230d42be97b539e4df3af736f (diff) |
big push, putting all the infrastructure in place behind TOX_ENABLE_IPV6
Diffstat (limited to 'toxcore/tox.c')
-rw-r--r-- | toxcore/tox.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/toxcore/tox.c b/toxcore/tox.c index e37eac3e..6417b16a 100644 --- a/toxcore/tox.c +++ b/toxcore/tox.c | |||
@@ -374,10 +374,11 @@ void tox_bootstrap(void *tox, IP_Port ip_port, uint8_t *public_key) | |||
374 | Messenger *m = tox; | 374 | Messenger *m = tox; |
375 | DHT_bootstrap(m->dht, ip_port, public_key); | 375 | DHT_bootstrap(m->dht, ip_port, public_key); |
376 | } | 376 | } |
377 | void tox_bootstrap_ex(void *tox, const char *address, uint16_t port, uint8_t *public_key) | 377 | void tox_bootstrap_ex(void *tox, const char *address, uint8_t ipv6enabled, |
378 | uint16_t port, uint8_t *public_key) | ||
378 | { | 379 | { |
379 | Messenger *m = tox; | 380 | Messenger *m = tox; |
380 | DHT_bootstrap_ex(m->dht, address, port, public_key); | 381 | DHT_bootstrap_ex(m->dht, address, ipv6enabled, port, public_key); |
381 | }; | 382 | }; |
382 | 383 | ||
383 | /* return 0 if we are not connected to the DHT. | 384 | /* return 0 if we are not connected to the DHT. |