net: replace %p6 with %pI6
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
4b7a4274ca
commit
5b095d9892
@@ -122,7 +122,7 @@ static void nlm_display_address(const struct sockaddr *sap,
|
||||
snprintf(buf, len, NIPQUAD_FMT,
|
||||
NIPQUAD(sin6->sin6_addr.s6_addr32[3]));
|
||||
else
|
||||
snprintf(buf, len, "%p6", &sin6->sin6_addr);
|
||||
snprintf(buf, len, "%pI6", &sin6->sin6_addr);
|
||||
break;
|
||||
default:
|
||||
snprintf(buf, len, "unsupported address family");
|
||||
|
Reference in New Issue
Block a user