diff --git a/include/opendht/dhtrunner.h b/include/opendht/dhtrunner.h index 95e0bfa2..32e3974b 100644 --- a/include/opendht/dhtrunner.h +++ b/include/opendht/dhtrunner.h @@ -365,7 +365,7 @@ public: * @param threaded: If false, ::loop() must be called periodically. Otherwise a thread is launched. * @param cb: Optional callback to receive general state information. */ - void run(in_port_t port = 4222, const crypto::Identity identity = {}, bool threaded = false, NetId network = 0) { + void run(in_port_t port = 4222, const crypto::Identity identity = {}, bool threaded = true, NetId network = 0) { run(port, { /*.dht_config = */{ /*.node_config = */{