infinite looooooooop :)
[PHP-P10.git] / Uplink / IPAddr.class.php
index fbc7c9839c3c7d3c833aa7dd0b0e4ba8fcb4a861..e486fb0caa787509382a2721daed3eb5e29dcf26 100644 (file)
@@ -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);