diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-10-29 00:05:40 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-10-29 00:05:40 +0100 |
commit | b071195deba14b37ce896c26f20349b46e5f9fd2 (patch) | |
tree | 5f32ddc71be0a282765349301ea9173b413cdc39 /net/ipv6/addrconf.c | |
parent | printk: add %p6 format specifier for IPv6 addresses (diff) | |
download | linux-b071195deba14b37ce896c26f20349b46e5f9fd2.tar.xz linux-b071195deba14b37ce896c26f20349b46e5f9fd2.zip |
net: replace all current users of NIP6_SEQFMT with %#p6
The define in kernel.h can be done away with at a later time.
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/addrconf.c')
-rw-r--r-- | net/ipv6/addrconf.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c index eea9542728ca..113c4d93153d 100644 --- a/net/ipv6/addrconf.c +++ b/net/ipv6/addrconf.c @@ -2986,9 +2986,8 @@ static void if6_seq_stop(struct seq_file *seq, void *v) static int if6_seq_show(struct seq_file *seq, void *v) { struct inet6_ifaddr *ifp = (struct inet6_ifaddr *)v; - seq_printf(seq, - NIP6_SEQFMT " %02x %02x %02x %02x %8s\n", - NIP6(ifp->addr), + seq_printf(seq, "%#p6 %02x %02x %02x %02x %8s\n", + &ifp->addr, ifp->idev->dev->ifindex, ifp->prefix_len, ifp->scope, |