summaryrefslogtreecommitdiff
path: root/other
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2020-05-04 00:40:59 +0100
committeriphydf <iphydf@users.noreply.github.com>2020-05-04 01:27:36 +0100
commit02a5bdc60c9ff8474a959027882048290571f806 (patch)
tree202664eeef476f77e73e63fefb59451ec5e008b7 /other
parent4efe541814ec2ddd073428d6928497b50c48397a (diff)
Add logging to TCP and onion client.
Diffstat (limited to 'other')
-rw-r--r--other/DHT_bootstrap.c2
-rw-r--r--other/bootstrap_daemon/docker/tox-bootstrapd.sha2562
-rw-r--r--other/bootstrap_daemon/src/tox-bootstrapd.c3
3 files changed, 4 insertions, 3 deletions
diff --git a/other/DHT_bootstrap.c b/other/DHT_bootstrap.c
index 49ad8013..b54a31cb 100644
--- a/other/DHT_bootstrap.c
+++ b/other/DHT_bootstrap.c
@@ -163,7 +163,7 @@ int main(int argc, char *argv[])
163#ifdef TCP_RELAY_ENABLED 163#ifdef TCP_RELAY_ENABLED
164#define NUM_PORTS 3 164#define NUM_PORTS 3
165 uint16_t ports[NUM_PORTS] = {443, 3389, PORT}; 165 uint16_t ports[NUM_PORTS] = {443, 3389, PORT};
166 TCP_Server *tcp_s = new_TCP_server(ipv6enabled, NUM_PORTS, ports, dht_get_self_secret_key(dht), onion); 166 TCP_Server *tcp_s = new_TCP_server(logger, ipv6enabled, NUM_PORTS, ports, dht_get_self_secret_key(dht), onion);
167 167
168 if (tcp_s == nullptr) { 168 if (tcp_s == nullptr) {
169 printf("TCP server failed to initialize.\n"); 169 printf("TCP server failed to initialize.\n");
diff --git a/other/bootstrap_daemon/docker/tox-bootstrapd.sha256 b/other/bootstrap_daemon/docker/tox-bootstrapd.sha256
index 82043e0d..6ccdea6a 100644
--- a/other/bootstrap_daemon/docker/tox-bootstrapd.sha256
+++ b/other/bootstrap_daemon/docker/tox-bootstrapd.sha256
@@ -1 +1 @@
79c4f7416951d024f95d08e7fc48e127181b7465935cc75b9b3e0ab001bd43b4 /usr/local/bin/tox-bootstrapd 6f719e76aedd7b386c40ef096412e0336dbc608e69112329932a2c7b60dd8652 /usr/local/bin/tox-bootstrapd
diff --git a/other/bootstrap_daemon/src/tox-bootstrapd.c b/other/bootstrap_daemon/src/tox-bootstrapd.c
index 2bef50e9..549d4625 100644
--- a/other/bootstrap_daemon/src/tox-bootstrapd.c
+++ b/other/bootstrap_daemon/src/tox-bootstrapd.c
@@ -406,7 +406,8 @@ int main(int argc, char *argv[])
406 return 1; 406 return 1;
407 } 407 }
408 408
409 tcp_server = new_TCP_server(enable_ipv6, tcp_relay_port_count, tcp_relay_ports, dht_get_self_secret_key(dht), onion); 409 tcp_server = new_TCP_server(logger, enable_ipv6, tcp_relay_port_count, tcp_relay_ports, dht_get_self_secret_key(dht),
410 onion);
410 411
411 free(tcp_relay_ports); 412 free(tcp_relay_ports);
412 413