dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94c7c84
)
Fixed r76560: one more caller of now-private toUnsigned6
author
Aaron Schulz
<aaron@users.mediawiki.org>
Wed, 8 Dec 2010 22:18:43 +0000
(22:18 +0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Wed, 8 Dec 2010 22:18:43 +0000
(22:18 +0000)
includes/Block.php
patch
|
blob
|
history
diff --git
a/includes/Block.php
b/includes/Block.php
index
9a6e8cb
..
17ebeb2
100644
(file)
--- 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::toUnsigned
6
( $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 );