From: Aaron Schulz Date: Wed, 8 Dec 2010 22:18:43 +0000 (+0000) Subject: Fixed r76560: one more caller of now-private toUnsigned6 X-Git-Tag: 1.31.0-rc.0~33434 X-Git-Url: http://git.cyclocoop.org/wiki/Target_page?a=commitdiff_plain;h=8648b3cdca394d01668ea6e50fc78d8843378c59;p=lhc%2Fweb%2Fwiklou.git Fixed r76560: one more caller of now-private toUnsigned6 --- 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 );