From 796595ffb67f153e3a41c2bd31384834e8e82f0f Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Wed, 11 Dec 2019 21:38:19 +0800 Subject: [PATCH] Enable "Apply rate limit to peers on LAN" option by default Because some ISP will deploy Carrier Grade NAT (means assigning private IP address to user) and thus accidentally circumvent the speed limiter. https://www.a10networks.com/blog/carrier-grade-nat/ --- src/base/bittorrent/session.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/bittorrent/session.cpp b/src/base/bittorrent/session.cpp index d4c394a0a..7b745d476 100644 --- a/src/base/bittorrent/session.cpp +++ b/src/base/bittorrent/session.cpp @@ -399,7 +399,7 @@ Session::Session(QObject *parent) , m_slowTorrentsInactivityTimer(BITTORRENT_SESSION_KEY("SlowTorrentsInactivityTimer"), 60) , m_outgoingPortsMin(BITTORRENT_SESSION_KEY("OutgoingPortsMin"), 0) , m_outgoingPortsMax(BITTORRENT_SESSION_KEY("OutgoingPortsMax"), 0) - , m_ignoreLimitsOnLAN(BITTORRENT_SESSION_KEY("IgnoreLimitsOnLAN"), true) + , m_ignoreLimitsOnLAN(BITTORRENT_SESSION_KEY("IgnoreLimitsOnLAN"), false) , m_includeOverheadInLimits(BITTORRENT_SESSION_KEY("IncludeOverheadInLimits"), false) , m_announceIP(BITTORRENT_SESSION_KEY("AnnounceIP")) , m_isSuperSeedingEnabled(BITTORRENT_SESSION_KEY("SuperSeedingEnabled"), false)