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
@@ -305,7 +305,7 @@ static int rpcb_register_netid6(struct sockaddr_in6 *address_to_register,
|
||||
snprintf(buf, sizeof(buf), "::.%u.%u",
|
||||
port >> 8, port & 0xff);
|
||||
else
|
||||
snprintf(buf, sizeof(buf), "%p6.%u.%u",
|
||||
snprintf(buf, sizeof(buf), "%pI6.%u.%u",
|
||||
&address_to_register->sin6_addr,
|
||||
port >> 8, port & 0xff);
|
||||
map->r_addr = buf;
|
||||
|
Reference in New Issue
Block a user