Skip to content

Commit

Permalink
bug in printing function
Browse files Browse the repository at this point in the history
  • Loading branch information
bradjc committed Feb 2, 2014
1 parent 46ba181 commit a60ce24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jsIP.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ var printCompressedIPv6 = function (ip, start, skip) {
run = 0;
run_start = -1;
for (i=0; i<9; i++) {
if (i<8 && self.ip[i] == 0) {
if (i<8 && ip[i] == 0) {
run++;
if (run_start == -1) {
run_start = i;
Expand Down

0 comments on commit a60ce24

Please sign in to comment.