[IPV4]: Use NIPQUAD_FMT to format ipv4 addresses.
And use %u to format port. Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
334f8b2afd
commit
a7d632b6b4
@@ -1077,7 +1077,7 @@ static int inet_sk_reselect_saddr(struct sock *sk)
|
||||
|
||||
if (sysctl_ip_dynaddr > 1) {
|
||||
printk(KERN_INFO "%s(): shifting inet->"
|
||||
"saddr from %d.%d.%d.%d to %d.%d.%d.%d\n",
|
||||
"saddr from " NIPQUAD_FMT " to " NIPQUAD_FMT "\n",
|
||||
__func__,
|
||||
NIPQUAD(old_saddr),
|
||||
NIPQUAD(new_saddr));
|
||||
|
Reference in New Issue
Block a user