net: replace uses of NIP6_FMT with %p6
[cascardo/linux.git] / net / ipv6 / netfilter / nf_conntrack_l3proto_ipv6.c
index e91db16..b165a27 100644 (file)
@@ -56,9 +56,8 @@ static bool ipv6_invert_tuple(struct nf_conntrack_tuple *tuple,
 static int ipv6_print_tuple(struct seq_file *s,
                            const struct nf_conntrack_tuple *tuple)
 {
-       return seq_printf(s, "src=" NIP6_FMT " dst=" NIP6_FMT " ",
-                         NIP6(*((struct in6_addr *)tuple->src.u3.ip6)),
-                         NIP6(*((struct in6_addr *)tuple->dst.u3.ip6)));
+       return seq_printf(s, "src=%p6 dst=%p6 ",
+                         tuple->src.u3.ip6, tuple->dst.u3.ip6);
 }
 
 /*