aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/ip_vs.h
diff options
context:
space:
mode:
authorJesper Dangaard Brouer <brouer@redhat.com>2012-09-26 14:05:53 +0200
committerSimon Horman <horms@verge.net.au>2012-09-28 11:33:52 +0900
commit120b9c14f464c445b20c05e81221ef83fdb5e55e (patch)
tree3cb816b411a83b6cc5155e900c1133368ddaca3e /include/net/ip_vs.h
parentx86: bpf_jit_comp: add XOR instruction for BPF JIT (diff)
downloadlinux-dev-120b9c14f464c445b20c05e81221ef83fdb5e55e.tar.xz
linux-dev-120b9c14f464c445b20c05e81221ef83fdb5e55e.zip
ipvs: Trivial changes, use compressed IPv6 address in output
Have not converted the proc file output to compressed IPv6 addresses. Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com> Acked-by: Julian Anastasov <ja@ssi.bg> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'include/net/ip_vs.h')
-rw-r--r--include/net/ip_vs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/ip_vs.h b/include/net/ip_vs.h
index ee75ccdf5188..aba0bb2da92d 100644
--- a/include/net/ip_vs.h
+++ b/include/net/ip_vs.h
@@ -165,7 +165,7 @@ static inline const char *ip_vs_dbg_addr(int af, char *buf, size_t buf_len,
int len;
#ifdef CONFIG_IP_VS_IPV6
if (af == AF_INET6)
- len = snprintf(&buf[*idx], buf_len - *idx, "[%pI6]",
+ len = snprintf(&buf[*idx], buf_len - *idx, "[%pI6c]",
&addr->in6) + 1;
else
#endif