From: Aaron Schulz Date: Fri, 23 Dec 2011 07:41:23 +0000 (+0000) Subject: Follow-up r98698: Reduce amount of ipv6 spam in FileCacheBase::incrMissesRecent(... X-Git-Tag: 1.31.0-rc.0~25793 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/%7B%7B%20url_for%28%27vote%27%2C%20idvote=vote.voteid%29%20%7D%7D?a=commitdiff_plain;h=15beeb4d40a1753ade95189f2fce4c88c6453fc7;p=lhc%2Fweb%2Fwiklou.git Follow-up r98698: Reduce amount of ipv6 spam in FileCacheBase::incrMissesRecent() per CR --- diff --git a/includes/cache/FileCacheBase.php b/includes/cache/FileCacheBase.php index 3ad9b7c866..b1047242f5 100644 --- a/includes/cache/FileCacheBase.php +++ b/includes/cache/FileCacheBase.php @@ -210,7 +210,7 @@ abstract class FileCacheBase { return; } $ip = IP::isIPv6( $ip ) - ? IP::sanitizeRange( "$ip/64" ) + ? IP::sanitizeRange( "$ip/32" ) : IP::sanitizeRange( "$ip/16" ); # Bail out if a request already came from this range...