summaryrefslogtreecommitdiffstats
path: root/include/net
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
parent82c93fcc2e1737fede2752520f1bf8f4de6304d8 (diff)
downloadop-kernel-dev-120b9c14f464c445b20c05e81221ef83fdb5e55e.zip
op-kernel-dev-120b9c14f464c445b20c05e81221ef83fdb5e55e.tar.gz
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')
-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 ee75ccd..aba0bb2 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
OpenPOWER on IntegriCloud