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/ip_input.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/ip_input.c')
-rw-r--r-- | net/ipv4/ip_input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/ip_input.c b/net/ipv4/ip_input.c index 4be00959b748..7b4bad6d572f 100644 --- a/net/ipv4/ip_input.c +++ b/net/ipv4/ip_input.c | |||
@@ -303,7 +303,7 @@ static inline int ip_rcv_options(struct sk_buff *skb) | |||
303 | if (IN_DEV_LOG_MARTIANS(in_dev) && | 303 | if (IN_DEV_LOG_MARTIANS(in_dev) && |
304 | net_ratelimit()) | 304 | net_ratelimit()) |
305 | printk(KERN_INFO "source route option " | 305 | printk(KERN_INFO "source route option " |
306 | "%u.%u.%u.%u -> %u.%u.%u.%u\n", | 306 | NIPQUAD_FMT " -> " NIPQUAD_FMT "\n", |
307 | NIPQUAD(iph->saddr), | 307 | NIPQUAD(iph->saddr), |
308 | NIPQUAD(iph->daddr)); | 308 | NIPQUAD(iph->daddr)); |
309 | in_dev_put(in_dev); | 309 | in_dev_put(in_dev); |