diff options
author | Harvey Harrison | 2008-10-29 00:08:13 +0100 |
---|---|---|
committer | David S. Miller | 2008-10-29 00:08:13 +0100 |
commit | 38ff4fa49bef77e86b21d95d9ce341a098f02839 (patch) | |
tree | 9c1b370a8d81410296719325a9b8264200e1af72 /net/netfilter/ipvs/ip_vs_ctl.c | |
parent | misc: replace NIP6_FMT with %p6 format specifier (diff) | |
download | kernel-qcow2-linux-38ff4fa49bef77e86b21d95d9ce341a098f02839.tar.gz kernel-qcow2-linux-38ff4fa49bef77e86b21d95d9ce341a098f02839.tar.xz kernel-qcow2-linux-38ff4fa49bef77e86b21d95d9ce341a098f02839.zip |
netfilter: replace uses of NIP6_FMT with %p6
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netfilter/ipvs/ip_vs_ctl.c')
-rw-r--r-- | net/netfilter/ipvs/ip_vs_ctl.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/netfilter/ipvs/ip_vs_ctl.c b/net/netfilter/ipvs/ip_vs_ctl.c index 0302cf3e5039..28c47c0d5142 100644 --- a/net/netfilter/ipvs/ip_vs_ctl.c +++ b/net/netfilter/ipvs/ip_vs_ctl.c @@ -1867,9 +1867,9 @@ static int ip_vs_info_seq_show(struct seq_file *seq, void *v) if (iter->table == ip_vs_svc_table) { #ifdef CONFIG_IP_VS_IPV6 if (svc->af == AF_INET6) - seq_printf(seq, "%s [" NIP6_FMT "]:%04X %s ", + seq_printf(seq, "%s [%p6]:%04X %s ", ip_vs_proto_name(svc->protocol), - NIP6(svc->addr.in6), + &svc->addr.in6, ntohs(svc->port), svc->scheduler->name); else @@ -1895,9 +1895,9 @@ static int ip_vs_info_seq_show(struct seq_file *seq, void *v) #ifdef CONFIG_IP_VS_IPV6 if (dest->af == AF_INET6) seq_printf(seq, - " -> [" NIP6_FMT "]:%04X" + " -> [%p6]:%04X" " %-7s %-6d %-10d %-10d\n", - NIP6(dest->addr.in6), + &dest->addr.in6, ntohs(dest->port), ip_vs_fwd_name(atomic_read(&dest->conn_flags)), atomic_read(&dest->weight), |