From 8933e49ecd4703163ad59eae501a96c4ed93f653 Mon Sep 17 00:00:00 2001 From: Aaron Date: Tue, 5 Jun 2012 17:01:43 -0700 Subject: [PATCH] Increased uselessly low $wgBlockCIDRLimit default for IPv6. Change-Id: I5abc83981912f304c4034a32063ba09bcf6aa1b1 --- includes/DefaultSettings.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 8f61096510..0a3d4adead 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -3460,11 +3460,11 @@ $wgSysopEmailBans = true; * * CIDR notation is hard to understand, it's easy to mistakenly assume that a * /1 is a small range and a /31 is a large range. Setting this to half the - * number of bits avoids such errors. + * number of bits avoids such errors for IPv4. */ $wgBlockCIDRLimit = array( 'IPv4' => 16, # Blocks larger than a /16 (64k addresses) will not be allowed - 'IPv6' => 64, # 2^64 = ~1.8x10^19 addresses + 'IPv6' => 32, # Blocks larger than a /32 (~7.9x10^28 addresses) will not be allowed ); /** -- 2.20.1