printk: ipv4 address digits printed in reverse order
authorHarvey Harrison <harvey.harrison@gmail.com>
Tue, 4 Nov 2008 01:09:55 +0000 (17:09 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Nov 2008 01:09:55 +0000 (17:09 -0800)
commitb9ac99855dcc0316ba2feee2b0d3e578f8315b75
tree7ca8a4864a3a8f29bc53ab705954c7e7220d2686
parent48148938b494cd57029a43c758e9972307a31d2a
printk: ipv4 address digits printed in reverse order

put_dec_trunc prints the digits in reverse order and is reversed
inside number(). Continue using put_dec_trunc, but reverse each quad
in ip4_addr_string.

[Noticed by Julius Volz]

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
lib/vsprintf.c