diff --git a/libtransmission/peer-mgr.cc b/libtransmission/peer-mgr.cc index 18d247bc4..4ddc4f9d0 100644 --- a/libtransmission/peer-mgr.cc +++ b/libtransmission/peer-mgr.cc @@ -2321,10 +2321,10 @@ struct peer_candidate continue; } - /* if everyone in the swarm is seeds and pex is disabled because - * the torrent is private, then don't initiate connections */ + /* if everyone in the swarm is seeds and pex is disabled, + * then don't initiate connections */ bool const seeding = tor->is_done(); - if (seeding && swarm->is_all_seeds() && tor->is_private()) + if (seeding && swarm->is_all_seeds() && !tor->allows_pex()) { continue; }