diff options
author | Jesper Dangaard Brouer <brouer@redhat.com> | 2012-09-26 14:05:53 +0200 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2012-09-28 11:33:52 +0900 |
commit | 120b9c14f464c445b20c05e81221ef83fdb5e55e (patch) | |
tree | 3cb816b411a83b6cc5155e900c1133368ddaca3e /include/net/ip_vs.h | |
parent | 82c93fcc2e1737fede2752520f1bf8f4de6304d8 (diff) | |
download | linux-120b9c14f464c445b20c05e81221ef83fdb5e55e.tar.gz linux-120b9c14f464c445b20c05e81221ef83fdb5e55e.tar.bz2 linux-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.h | 2 |
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 |