Index: trunk/phase3/includes/Block.php |
— | — | @@ -815,7 +815,7 @@ |
816 | 816 | // IPv6 |
817 | 817 | if ( IP::isIPv6( $range ) && $parts[1] >= 64 && $parts[1] <= 128 ) { |
818 | 818 | $bits = $parts[1]; |
819 | | - $ipint = IP::toUnsigned6( $parts[0] ); |
| 819 | + $ipint = IP::toUnsigned( $parts[0] ); |
820 | 820 | # Native 32 bit functions WON'T work here!!! |
821 | 821 | # Convert to a padded binary number |
822 | 822 | $network = wfBaseConvert( $ipint, 10, 2, 128 ); |