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
@@ -87,7 +87,7 @@ static inline const char *ip_vs_dbg_addr(int af, char *buf, size_t buf_len,
|
||||
int len;
|
||||
#ifdef CONFIG_IP_VS_IPV6
|
||||
if (af == AF_INET6)
|
||||
len = snprintf(&buf[*idx], buf_len - *idx, "[%p6]",
|
||||
len = snprintf(&buf[*idx], buf_len - *idx, "[%pI6]",
|
||||
&addr->in6) + 1;
|
||||
else
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user