mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-27 23:14:31 +00:00
Always update native session's announce_ip setting
This commit is contained in:
parent
39ad4d65e8
commit
41dbb82cc2
@ -369,9 +369,7 @@ void Session::setSessionSettings()
|
||||
// Include overhead in transfer limits
|
||||
sessionSettings.rate_limit_ip_overhead = pref->includeOverheadInLimits();
|
||||
// IP address to announce to trackers
|
||||
QString announce_ip = pref->getNetworkAddress();
|
||||
if (!announce_ip.isEmpty())
|
||||
sessionSettings.announce_ip = Utils::String::toStdString(announce_ip);
|
||||
sessionSettings.announce_ip = Utils::String::toStdString(pref->getNetworkAddress());
|
||||
// Super seeding
|
||||
sessionSettings.strict_super_seeding = pref->isSuperSeedingEnabled();
|
||||
// * Max Half-open connections
|
||||
|
Loading…
x
Reference in New Issue
Block a user