lines merge
This commit is contained in:
parent
a1b2c21767
commit
a30d922225
|
|
@ -176,8 +176,7 @@ function _ipv6_to_string(v6Bytes, compress) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// auto compression of consecutive zero
|
// auto compression of consecutive zero
|
||||||
let mi = ps.length - 1;
|
let _ = [], mi = ps.length - 1;
|
||||||
let _ = [];
|
|
||||||
for (i = 0; i < ps.length; i++) {
|
for (i = 0; i < ps.length; i++) {
|
||||||
if (i >= mi) {
|
if (i >= mi) {
|
||||||
_.push(ps[i]);
|
_.push(ps[i]);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue