[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
@@ -303,7 +303,7 @@ static inline int ip_rcv_options(struct sk_buff *skb)
|
||||
if (IN_DEV_LOG_MARTIANS(in_dev) &&
|
||||
net_ratelimit())
|
||||
printk(KERN_INFO "source route option "
|
||||
"%u.%u.%u.%u -> %u.%u.%u.%u\n",
|
||||
NIPQUAD_FMT " -> " NIPQUAD_FMT "\n",
|
||||
NIPQUAD(iph->saddr),
|
||||
NIPQUAD(iph->daddr));
|
||||
in_dev_put(in_dev);
|
||||
|
Reference in New Issue
Block a user