diff options
author | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | 2008-04-14 07:09:00 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-04-14 07:09:00 -0400 |
commit | a7d632b6b4ad1c92746ed409e41f9dc571ec04e2 (patch) | |
tree | 90e6aa51a9df50aa4a437749e89356ab15a0ff5f /net/ipv4/af_inet.c | |
parent | 334f8b2afd9652e20f67ddee4fec483ed860425b (diff) |
[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>
Diffstat (limited to 'net/ipv4/af_inet.c')
-rw-r--r-- | net/ipv4/af_inet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/af_inet.c b/net/ipv4/af_inet.c index 72ae8ed5a3d7..f2b5270efdaa 100644 --- a/net/ipv4/af_inet.c +++ b/net/ipv4/af_inet.c | |||
@@ -1077,7 +1077,7 @@ static int inet_sk_reselect_saddr(struct sock *sk) | |||
1077 | 1077 | ||
1078 | if (sysctl_ip_dynaddr > 1) { | 1078 | if (sysctl_ip_dynaddr > 1) { |
1079 | printk(KERN_INFO "%s(): shifting inet->" | 1079 | printk(KERN_INFO "%s(): shifting inet->" |
1080 | "saddr from %d.%d.%d.%d to %d.%d.%d.%d\n", | 1080 | "saddr from " NIPQUAD_FMT " to " NIPQUAD_FMT "\n", |
1081 | __func__, | 1081 | __func__, |
1082 | NIPQUAD(old_saddr), | 1082 | NIPQUAD(old_saddr), |
1083 | NIPQUAD(new_saddr)); | 1083 | NIPQUAD(new_saddr)); |