Fixed r76560: one more caller of now-private toUnsigned6
authorAaron Schulz <aaron@users.mediawiki.org>
Wed, 8 Dec 2010 22:18:43 +0000 (22:18 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Wed, 8 Dec 2010 22:18:43 +0000 (22:18 +0000)
includes/Block.php

index 9a6e8cb..17ebeb2 100644 (file)
@@ -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 );