From 678fed7450af4aa556fa7b3d3119223e6cef6590 Mon Sep 17 00:00:00 2001 From: csoler Date: Sat, 4 May 2019 16:03:05 +0200 Subject: [PATCH] enable IP filtering by default --- libretroshare/src/services/p3banlist.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libretroshare/src/services/p3banlist.cc b/libretroshare/src/services/p3banlist.cc index f55343889..c1e8f9a1e 100644 --- a/libretroshare/src/services/p3banlist.cc +++ b/libretroshare/src/services/p3banlist.cc @@ -62,7 +62,7 @@ p3BanList::p3BanList(p3ServiceControl *sc, p3NetMgr */*nm*/) : p3Service(), mBanMtx("p3BanList"), mServiceCtrl(sc) , mSentListTime(0), mLastDhtInfoRequest(0) // default number of IPs in same range to trigger a complete IP /24 filter. - , mAutoRangeLimit(100), mAutoRangeIps(false) + , mAutoRangeLimit(2), mAutoRangeIps(true) , mIPFilteringEnabled(true) , mIPFriendGatheringEnabled(false) , mIPDHTGatheringEnabled(false) @@ -1202,7 +1202,7 @@ void p3BanList::sendBanLists() } } - +// Send all manually banned ranges to friends int p3BanList::sendBanSet(const RsPeerId& peerid) {