projects
/
PHP-P10.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
infinite looooooooop :)
[PHP-P10.git]
/
Uplink
/
IPAddr.class.php
diff --git
a/Uplink/IPAddr.class.php
b/Uplink/IPAddr.class.php
index fbc7c9839c3c7d3c833aa7dd0b0e4ba8fcb4a861..e486fb0caa787509382a2721daed3eb5e29dcf26 100644
(file)
--- a/
Uplink/IPAddr.class.php
+++ b/
Uplink/IPAddr.class.php
@@
-60,6
+60,7
@@
class IPAddr {
$rightBlocks = (strlen($numeric) - $i - 1) / 3;
$skipBlocks = 8 - $j - $rightBlocks;
$j += $skipBlocks;
+ $i++;
} else {
$value = Numerics::numToInt($numeric[$i].$numeric[$i+1].$numeric[$i+2]);
$this->ip6[$j++] = dechex($value);