[NETFILTER]: nf_conntrack: fix NF_CT_TUPLE_DUMP for IPv4
authorPatrick McHardy <kaber@trash.net>
Wed, 26 Mar 2008 03:07:38 +0000 (20:07 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Mar 2008 03:07:38 +0000 (20:07 -0700)
commitef27559b70bd5312dfcbeab3b9ab0296206413c4
tree00f741d7113d1eda28b502ee76110c8384964a62
parent30c69fed7d94c5c330a47fcc4833627644c19a5b
[NETFILTER]: nf_conntrack: fix NF_CT_TUPLE_DUMP for IPv4

NF_CT_TUPLE_DUMP prints IPv4 addresses as IPv6, fix this and use printk
(guarded by #ifdef DEBUG) directly instead of pr_debug since the tuple
is usually printed at the end of line and we don't want to include a
log-level.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/netfilter/nf_conntrack_tuple.h