diff options
author | iphydf <iphydf@users.noreply.github.com> | 2020-05-04 00:40:59 +0100 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2020-05-04 01:27:36 +0100 |
commit | 02a5bdc60c9ff8474a959027882048290571f806 (patch) | |
tree | 202664eeef476f77e73e63fefb59451ec5e008b7 /other/DHT_bootstrap.c | |
parent | 4efe541814ec2ddd073428d6928497b50c48397a (diff) |
Add logging to TCP and onion client.
Diffstat (limited to 'other/DHT_bootstrap.c')
-rw-r--r-- | other/DHT_bootstrap.c | 2 |
1 files changed, 1 insertions, 1 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"); |