diff --git a/socket/fmt_ip6.c b/socket/fmt_ip6.c index ee7e25e..f368817 100644 --- a/socket/fmt_ip6.c +++ b/socket/fmt_ip6.c @@ -39,6 +39,7 @@ unsigned int fmt_ip6(char *s,const char ip[16]) } } } + if (compressing) { *s++=':'; ++len; } /* if (s) *s=0; */ return len;