From ecefdba734df39eba815018b66e953d3fed51251 Mon Sep 17 00:00:00 2001 From: Miroslav Marchev Date: Wed, 11 Feb 2026 11:08:31 +0200 Subject: [PATCH] dht_add_peer_node is empty, use dht_add_bootstrap_node instead After a refactor dht_add_peer_node became empty function. Replace with dht_add_bootstrap_node to make adding bootstrap nodes work. --- src/command_tracker.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/command_tracker.cc b/src/command_tracker.cc index 5bcdd960..08fdee72 100644 --- a/src/command_tracker.cc +++ b/src/command_tracker.cc @@ -59,7 +59,7 @@ apply_dht_add_node(const std::string& arg) { } lt_log_print(torrent::LOG_DHT_CONTROLLER, "dht.add_node : %s", host_str.c_str()); - torrent::runtime::network_manager()->dht_add_peer_node(sa.get(), port); + torrent::runtime::network_manager()->dht_add_bootstrap_node(host_str.c_str(), port); }); return torrent::Object();