mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-08-21 23:20:24 +00:00
show Torrents tunnels on I2P tunnels page
This commit is contained in:
@@ -989,7 +989,7 @@ namespace client
|
||||
else
|
||||
localDestination->SetPublic (true);
|
||||
}
|
||||
auto torrentsTunnel = std::make_shared<i2p::torrents::TorrentsTunnel> (localDestination, torrentsDir, trackers);
|
||||
auto torrentsTunnel = std::make_shared<i2p::torrents::TorrentsTunnel> (name, localDestination, torrentsDir, trackers);
|
||||
auto [iit, inserted] = m_TorrentsTunnels.emplace (localDestination->GetIdentHash (), torrentsTunnel);
|
||||
if (inserted)
|
||||
torrentsTunnel->Start ();
|
||||
|
||||
Reference in New Issue
Block a user