Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3f472402 authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by Linus Torvalds
Browse files

vsnprintf: fix reference for compressed ipv6 addresses



Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reported-by: default avatarJosip Rodin <joy@entuzijast.net>
Cc: Joe Perches <joe@perches.com>
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 11723ab1
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -903,7 +903,7 @@ static char *uuid_string(char *buf, char *end, const u8 *addr,
 *       IPv6 omits the colons (01020304...0f)
 *       IPv6 omits the colons (01020304...0f)
 *       IPv4 uses dot-separated decimal with leading 0's (010.123.045.006)
 *       IPv4 uses dot-separated decimal with leading 0's (010.123.045.006)
 * - 'I6c' for IPv6 addresses printed as specified by
 * - 'I6c' for IPv6 addresses printed as specified by
 *       http://www.ietf.org/id/draft-kawamura-ipv6-text-representation-03.txt
 *       http://tools.ietf.org/html/draft-ietf-6man-text-addr-representation-00
 * - 'U' For a 16 byte UUID/GUID, it prints the UUID/GUID in the form
 * - 'U' For a 16 byte UUID/GUID, it prints the UUID/GUID in the form
 *       "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
 *       "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
 *       Options for %pU are:
 *       Options for %pU are:
@@ -1188,7 +1188,7 @@ qualifier:
 * %pI6 print an IPv6 address with colons
 * %pI6 print an IPv6 address with colons
 * %pi6 print an IPv6 address without colons
 * %pi6 print an IPv6 address without colons
 * %pI6c print an IPv6 address as specified by
 * %pI6c print an IPv6 address as specified by
 *   http://www.ietf.org/id/draft-kawamura-ipv6-text-representation-03.txt
 *   http://tools.ietf.org/html/draft-ietf-6man-text-addr-representation-00
 * %pU[bBlL] print a UUID/GUID in big or little endian using lower or upper
 * %pU[bBlL] print a UUID/GUID in big or little endian using lower or upper
 *   case.
 *   case.
 * %n is ignored
 * %n is ignored