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.
This commit is contained in:
Miroslav Marchev
2026-02-11 11:08:31 +02:00
committed by Jari Sundell
parent 87666199b3
commit ecefdba734
+1 -1
View File
@@ -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();