From cfddc730ea84b8293307195e9809e5ba34796af1 Mon Sep 17 00:00:00 2001 From: leitner Date: Fri, 18 May 2001 20:36:55 +0000 Subject: [PATCH] "::" case was handled incorrectly. --- socket/fmt_ip6.c | 1 + 1 file changed, 1 insertion(+) 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;