diff options
Diffstat (limited to 'other')
-rw-r--r-- | other/DHT_bootstrap.c | 2 | ||||
-rw-r--r-- | other/DHTnodes | 2 | ||||
-rw-r--r-- | other/apidsl/tox.in.h | 6 | ||||
-rw-r--r-- | other/bootstrap_daemon/tox-bootstrapd.c | 3 | ||||
-rw-r--r-- | other/bootstrap_daemon/tox-bootstrapd.conf | 2 |
5 files changed, 7 insertions, 8 deletions
diff --git a/other/DHT_bootstrap.c b/other/DHT_bootstrap.c index 29aa5bcf..52e84315 100644 --- a/other/DHT_bootstrap.c +++ b/other/DHT_bootstrap.c | |||
@@ -141,7 +141,7 @@ int main(int argc, char *argv[]) | |||
141 | #ifdef TCP_RELAY_ENABLED | 141 | #ifdef TCP_RELAY_ENABLED |
142 | #define NUM_PORTS 3 | 142 | #define NUM_PORTS 3 |
143 | uint16_t ports[NUM_PORTS] = {443, 3389, PORT}; | 143 | uint16_t ports[NUM_PORTS] = {443, 3389, PORT}; |
144 | TCP_Server *tcp_s = new_TCP_server(ipv6enabled, NUM_PORTS, ports, dht->self_public_key, dht->self_secret_key, onion); | 144 | TCP_Server *tcp_s = new_TCP_server(ipv6enabled, NUM_PORTS, ports, dht->self_secret_key, onion); |
145 | 145 | ||
146 | if (tcp_s == NULL) { | 146 | if (tcp_s == NULL) { |
147 | printf("TCP server failed to initialize.\n"); | 147 | printf("TCP server failed to initialize.\n"); |
diff --git a/other/DHTnodes b/other/DHTnodes index 0abdbbd9..d2051c7a 100644 --- a/other/DHTnodes +++ b/other/DHTnodes | |||
@@ -1,3 +1,3 @@ | |||
1 | As maintaining 2 separate lists of the same information seemed redundant, this list has been phased out. | 1 | As maintaining 2 separate lists of the same information seemed redundant, this list has been phased out. |
2 | 2 | ||
3 | For a current DHT node list please visit http://wiki.tox.im/nodes | 3 | For a current DHT node list please visit https://wiki.tox.chat/doku.php?id=users:nodes |
diff --git a/other/apidsl/tox.in.h b/other/apidsl/tox.in.h index 4a0ab950..577515b1 100644 --- a/other/apidsl/tox.in.h +++ b/other/apidsl/tox.in.h | |||
@@ -627,7 +627,7 @@ uint8_t[size] savedata { | |||
627 | * Sends a "get nodes" request to the given bootstrap node with IP, port, and | 627 | * Sends a "get nodes" request to the given bootstrap node with IP, port, and |
628 | * public key to setup connections. | 628 | * public key to setup connections. |
629 | * | 629 | * |
630 | * This function will attempt to connect to the node using UDP. You must use | 630 | * This function will attempt to connect to the node using UDP. You must use |
631 | * this function even if ${options.this.udp_enabled} was set to false. | 631 | * this function even if ${options.this.udp_enabled} was set to false. |
632 | * | 632 | * |
633 | * @param address The hostname or IP address (IPv4 or IPv6) of the node. | 633 | * @param address The hostname or IP address (IPv4 or IPv6) of the node. |
@@ -1209,7 +1209,7 @@ namespace friend { | |||
1209 | with error for query; | 1209 | with error for query; |
1210 | 1210 | ||
1211 | /** | 1211 | /** |
1212 | * Write the name of the friend designated by the given friend number to a byte | 1212 | * Write the status message of the friend designated by the given friend number to a byte |
1213 | * array. | 1213 | * array. |
1214 | * | 1214 | * |
1215 | * Call $size to determine the allocation size for the `status_name` | 1215 | * Call $size to determine the allocation size for the `status_name` |
@@ -1218,7 +1218,7 @@ namespace friend { | |||
1218 | * The data written to `status_message` is equal to the data received by the last | 1218 | * The data written to `status_message` is equal to the data received by the last |
1219 | * `${event status_message}` callback. | 1219 | * `${event status_message}` callback. |
1220 | * | 1220 | * |
1221 | * @param name A valid memory region large enough to store the friend's name. | 1221 | * @param status_message A valid memory region large enough to store the friend's status message. |
1222 | */ | 1222 | */ |
1223 | get(uint32_t friend_number) | 1223 | get(uint32_t friend_number) |
1224 | with error for query; | 1224 | with error for query; |
diff --git a/other/bootstrap_daemon/tox-bootstrapd.c b/other/bootstrap_daemon/tox-bootstrapd.c index 8b5e6a4b..267e7238 100644 --- a/other/bootstrap_daemon/tox-bootstrapd.c +++ b/other/bootstrap_daemon/tox-bootstrapd.c | |||
@@ -624,8 +624,7 @@ int main(int argc, char *argv[]) | |||
624 | return 1; | 624 | return 1; |
625 | } | 625 | } |
626 | 626 | ||
627 | tcp_server = new_TCP_server(enable_ipv6, tcp_relay_port_count, tcp_relay_ports, dht->self_public_key, | 627 | tcp_server = new_TCP_server(enable_ipv6, tcp_relay_port_count, tcp_relay_ports, dht->self_secret_key, onion); |
628 | dht->self_secret_key, onion); | ||
629 | 628 | ||
630 | // tcp_relay_port_count != 0 at this point | 629 | // tcp_relay_port_count != 0 at this point |
631 | free(tcp_relay_ports); | 630 | free(tcp_relay_ports); |
diff --git a/other/bootstrap_daemon/tox-bootstrapd.conf b/other/bootstrap_daemon/tox-bootstrapd.conf index d02eb3d0..a997be5f 100644 --- a/other/bootstrap_daemon/tox-bootstrapd.conf +++ b/other/bootstrap_daemon/tox-bootstrapd.conf | |||
@@ -39,7 +39,7 @@ motd = "tox-bootstrapd" | |||
39 | // | 39 | // |
40 | // Remember to replace the provided example with your own node list. | 40 | // Remember to replace the provided example with your own node list. |
41 | // There is a maintained list of bootstrap nodes on Tox's wiki, if you need it | 41 | // There is a maintained list of bootstrap nodes on Tox's wiki, if you need it |
42 | // (http://wiki.tox.im/Nodes). | 42 | // (https://wiki.tox.chat/doku.php?id=users:nodes). |
43 | // | 43 | // |
44 | // You may leave the list empty or remove "bootstrap_nodes" completely, | 44 | // You may leave the list empty or remove "bootstrap_nodes" completely, |
45 | // in both cases this will be interpreted as if you don't want to bootstrap | 45 | // in both cases this will be interpreted as if you don't want to bootstrap |