From 8648b3cdca394d01668ea6e50fc78d8843378c59 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Wed, 8 Dec 2010 22:18:43 +0000 Subject: [PATCH] Fixed r76560: one more caller of now-private toUnsigned6 --- includes/Block.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Block.php b/includes/Block.php index 9a6e8cb12a..17ebeb218c 100644 --- a/includes/Block.php +++ b/includes/Block.php @@ -815,7 +815,7 @@ class Block { // IPv6 if ( IP::isIPv6( $range ) && $parts[1] >= 64 && $parts[1] <= 128 ) { $bits = $parts[1]; - $ipint = IP::toUnsigned6( $parts[0] ); + $ipint = IP::toUnsigned( $parts[0] ); # Native 32 bit functions WON'T work here!!! # Convert to a padded binary number $network = wfBaseConvert( $ipint, 10, 2, 128 ); -- 2.20.1