"::" case was handled incorrectly.

This commit is contained in:
Felix von Leitner 2001-05-18 20:36:55 +00:00
parent 818e782ce0
commit 23674f0cc1
1 changed files with 1 additions and 0 deletions

View File

@ -39,6 +39,7 @@ unsigned int fmt_ip6(char *s,const char ip[16])
}
}
}
if (compressing) { *s++=':'; ++len; }
/* if (s) *s=0; */
return len;