Message ID | 1250522309.16632.45.camel@fnki-nb00130 |
---|---|
State | Superseded, archived |
Delegated to: | David Miller |
Headers | show |
diff --git a/lib/vsprintf.c b/lib/vsprintf.c index 9b79536..a80ef3d 100644 --- a/lib/vsprintf.c +++ b/lib/vsprintf.c @@ -677,12 +677,11 @@ static char *ip6_compressed_string(char *p, const struct in6_addr *addr) int j; int range; unsigned char zerolength[8]; - int longest = 0; + int longest = 1; int colonpos = -1; u16 word; u8 hi; u8 lo; - bool printhi; bool needcolon = false; bool useIPv4 = ipv6_addr_v4mapped(addr) || ipv6_addr_is_isatap(addr);